home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / CLIPPER / MISC / EMXLIB8F.ZIP / EMX / LIB / TIME / MAKEFILE < prev    next >
Encoding:
Text File  |  1992-12-29  |  1.2 KB  |  48 lines

  1. #
  2. # /emx/lib/time/makefile
  3. #
  4. GCC=gcc -O -Wall -mprobe
  5. AR=ar
  6. I=/emx/include/
  7. E=$(I)sys/emx.h
  8. MT=../mt/
  9.  
  10. LIBC=../libc.a
  11.  
  12. .SUFFIXES: .s .o .obj
  13.  
  14. .c.o:
  15.     $(GCC) -c $*.c
  16.  
  17. default:    $(LIBC)
  18.  
  19. clean:
  20.     -del *.o $(DELOPT)
  21.  
  22. asctime.o: asctime.c $(I)time.h $(I)string.h $(E)
  23. clock.o: clock.c $(E)
  24. ctime.o: ctime.c $(I)time.h
  25. difftime.o: difftime.c $(I)time.h
  26. ftime.o: ftime.c $(E) $(I)sys/timeb.h $(I)time.h
  27. gettimeo.o: gettimeo.c $(E) $(I)sys/time.h $(I)time.h $(I)sys/timeb.h
  28. gmtime.o: gmtime.c $(I)time.h $(I)stdlib.h $(E)
  29. localtim.o: localtim.c $(I)time.h $(E)
  30. mktime.o: mktime.c $(I)time.h $(E)
  31. strftime.o: strftime.c $(I)time.h $(I)stdlib.h $(I)string.h $(E)
  32. time.o: time.c $(I)sys/timeb.h $(I)time.h
  33. times.o: times.c $(E) $(I)time.h $(I)sys/time.h $(I)sys/times.h
  34. tzset.o: tzset.c $(I)time.h $(I)string.h $(I)stdlib.h
  35.  
  36. $(LIBC): asctime.o clock.o ctime.o difftime.o ftime.o gettimeo.o gmtime.o \
  37.     localtim.o mktime.o strftime.o time.o times.o tzset.o
  38.     -$(AR) d $(LIBC) __.SYMDEF
  39.     $(AR) r $(LIBC) *.o
  40.     $(AR) s $(LIBC)
  41.  
  42. $(MT)time1.c:  asctime.c clock.c ctime.c difftime.c ftime.c gettimeo.c \
  43.     gmtime.c includes.c localtim.c mktime.c strftime.c time.c \
  44.     times.c tzset.c
  45.     emxcat -o $@ includes.c *.c
  46.  
  47. mt: $(MT)time1.c
  48.