scc

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

Makefile (623B)


      1 .POSIX:
      2 
      3 PROJECTDIR = ../../..
      4 include $(PROJECTDIR)/scripts/rules.mk
      5 
      6 MORE_CFLAGS = -I$(INCDIR)/$(STD)
      7 
      8 OBJS = \
      9 	main.o\
     10 	symbol.o\
     11 	ins.o\
     12 	parser.o\
     13 	expr.o\
     14 
     15 TARGET =\
     16 	$(LIBEXEC)/scc/as-powerpc64\
     17 	$(LIBEXEC)/scc/as-powerpc\
     18 	$(LIBEXEC)/scc/as-amd64\
     19 	$(LIBEXEC)/scc/as-i386\
     20 	$(LIBEXEC)/scc/as-i286\
     21 	$(LIBEXEC)/scc/as-z80 \
     22 
     23 all: $(TARGET)
     24 
     25 $(TARGET): $(LIBSCC)
     26 
     27 dep: inc-dep
     28 
     29 clean:
     30 	rm -f target/*/*.o target/*/*tbl.c
     31 
     32 include target/powerpc/powerpc64.mk
     33 include target/powerpc/powerpc.mk
     34 include target/x86/amd64.mk
     35 include target/x86/i386.mk
     36 include target/x86/i286.mk
     37 include target/x80/z80.mk
     38 include deps.mk