scc

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

Makefile (341B)


      1 .POSIX:
      2 PROJECTDIR =../../../..
      3 include $(PROJECTDIR)/scripts/rules.mk
      4 include ../../rules.mk
      5 
      6 OBJS =\
      7 	longjmp.$O\
      8 	setjmp.$O\
      9 	memchr.$O\
     10 	memcmp.$O\
     11 	memcpy.$O\
     12 	memmove.$O\
     13 	memset.$O\
     14 
     15 DIRS = linux
     16 
     17 all: $(LIBC) $(SYS)
     18 
     19 $(LIBC): $(OBJS)
     20 	$(MKLST)
     21 
     22 $(SYS): FORCE
     23 	+@cd $@ && $(MAKE)
     24 
     25 dep: inc-dep
     26 
     27 dep clean:
     28 	$(FORALL)
     29 
     30 include deps.mk