scc

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

Makefile (378B)


      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 NODEP = 1
     14 
     15 all: $(SYSHDR)
     16 
     17 cstd.h: cstd-$(STD).h
     18 	cp cstd-$(STD).h $@
     19 
     20 ldflags.h:
     21 	cp ldflags.def.h $@
     22 
     23 syscrts.h:
     24 	cp syscrts.def.h $@
     25 
     26 sysincludes.h:
     27 	cp sysincludes.def.h $@
     28 
     29 syslibs.h:
     30 	cp syslibs.def.h $@
     31 
     32 clean:
     33 	rm -f $(SYSHDR)