Makefile (365B)
1 .POSIX: 2 PROJECTDIR =../../.. 3 include $(PROJECTDIR)/scripts/rules.mk 4 include ../rules.mk 5 CC=$(SCC) 6 7 OBJS =\ 8 _daysyear.$O\ 9 _newyear.$O\ 10 asctime.$O\ 11 ctime.$O\ 12 difftime.$O\ 13 gmtime.$O\ 14 localtime.$O\ 15 mktime.$O\ 16 strftime.$O\ 17 tz.$O\ 18 19 all: $(OBJS) 20 21 tz.c: timezone.lst 22 ./gentz timezone.lst > $@ 23 24 tz.$O: tz.c 25 $(CC) $(PROJ_CFLAGS) -c -o $@ tz.c 26 27 clean: 28 rm -f tz.c