scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

Makefile (321B)


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