scc

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

Makefile (346B)


      1 .POSIX:
      2 
      3 DIRS   =\
      4 	scc-ld\
      5 	scc-as\
      6 	scc-cc\
      7 	scc-make\
      8 	scc-objdump\
      9 
     10 PROJECTDIR = ../..
     11 include $(PROJECTDIR)/scripts/rules.mk
     12 
     13 TARGET =\
     14 	scc-nm\
     15 	scc-ar\
     16 	scc-strip\
     17 	scc-size\
     18 	scc-ranlib\
     19 	scc-dump\
     20 	scc-objcopy\
     21 	scc-addr2line\
     22 
     23 MORE_LDLIBS = -lmach -lscc
     24 
     25 all: $(TARGET) $(DIRS)
     26 	@cp $(TARGET) $(BINDIR)
     27 
     28 $(TARGET): $(LIBMACH) $(LIBSCC)