scc

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

Makefile (361B)


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