home *** CD-ROM | disk | FTP | other *** search
- #
- # /emx/lib/time/makefile
- #
- GCC=gcc -O -Wall -mprobe
- AR=ar
- I=/emx/include/
- E=$(I)sys/emx.h
- MT=../mt/
-
- LIBC=../libc.a
-
- .SUFFIXES: .s .o .obj
-
- .c.o:
- $(GCC) -c $*.c
-
- default: $(LIBC)
-
- clean:
- -del *.o $(DELOPT)
-
- asctime.o: asctime.c $(I)time.h $(I)string.h $(E)
- clock.o: clock.c $(E)
- ctime.o: ctime.c $(I)time.h
- difftime.o: difftime.c $(I)time.h
- ftime.o: ftime.c $(E) $(I)sys/timeb.h $(I)time.h
- gettimeo.o: gettimeo.c $(E) $(I)sys/time.h $(I)time.h $(I)sys/timeb.h
- gmtime.o: gmtime.c $(I)time.h $(I)stdlib.h $(E)
- localtim.o: localtim.c $(I)time.h $(E)
- mktime.o: mktime.c $(I)time.h $(E)
- strftime.o: strftime.c $(I)time.h $(I)stdlib.h $(I)string.h $(E)
- time.o: time.c $(I)sys/timeb.h $(I)time.h
- times.o: times.c $(E) $(I)time.h $(I)sys/time.h $(I)sys/times.h
- tzset.o: tzset.c $(I)time.h $(I)string.h $(I)stdlib.h
-
- $(LIBC): asctime.o clock.o ctime.o difftime.o ftime.o gettimeo.o gmtime.o \
- localtim.o mktime.o strftime.o time.o times.o tzset.o
- -$(AR) d $(LIBC) __.SYMDEF
- $(AR) r $(LIBC) *.o
- $(AR) s $(LIBC)
-
- $(MT)time1.c: asctime.c clock.c ctime.c difftime.c ftime.c gettimeo.c \
- gmtime.c includes.c localtim.c mktime.c strftime.c time.c \
- times.c tzset.c
- emxcat -o $@ includes.c *.c
-
- mt: $(MT)time1.c
-