scc

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

Makefile (371B)


      1 .POSIX:
      2 
      3 PROJECTDIR = ../../..
      4 include $(PROJECTDIR)/scripts/rules.mk
      5 
      6 SYSHDR =\
      7 	ldflags.h\
      8 	syscrts.h\
      9 	sysincludes.h\
     10 	syslibs.h\
     11 	cstd.h\
     12 
     13 all: $(SYSHDR)
     14 
     15 cstd.h: cstd-$(STD).h
     16 	cp cstd-$(STD).h $@
     17 
     18 ldflags.h:
     19 	cp ldflags.def.h $@
     20 
     21 syscrts.h:
     22 	cp syscrts.def.h $@
     23 
     24 sysincludes.h:
     25 	cp sysincludes.def.h $@
     26 
     27 syslibs.h:
     28 	cp syslibs.def.h $@
     29 
     30 distclean:
     31 	rm -f $(SYSHDR)