scc

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

Makefile (335B)


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