scc

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

Makefile (357B)


      1 .POSIX:
      2 PROJECTDIR =../..
      3 include $(PROJECTDIR)/scripts/rules.mk
      4 include rules.mk
      5 
      6 DIRS = arch\
      7        assert\
      8        ctype\
      9        locale\
     10        stdio\
     11        stdlib\
     12        string\
     13        time\
     14 
     15 all: $(DIRS) objlst.mk
     16 	+@$(MAKE) -f Makefile.libc
     17 
     18 $(DIRS): FORCE
     19 	+@cd $@ && $(MAKE)
     20 
     21 objlst.mk: $(DIRS) FORCE
     22 	mklst $@
     23 
     24 clean:
     25 	$(FORALL)
     26 	rm -f objlst.mk