scc

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

Makefile (276B)


      1 .POSIX:
      2 
      3 PROJECTDIR = ../../..
      4 include $(PROJECTDIR)/scripts/rules.mk
      5 
      6 OBJS =\
      7 	defaults.o\
      8 	main.o\
      9 	parser.o\
     10 	rules.o\
     11 	$(DRIVER).o\
     12 
     13 TARGET = scc-make
     14 
     15 all: $(TARGET)
     16 
     17 scc-make: $(OBJS)
     18 	$(CC) $(PROJ_LDFLAGS) $(OBJS) $(PROJ_LDLIBS) -o $@
     19 	cp $@ $(BINDIR)
     20 
     21 $(OBJS): make.h