scc

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

Makefile (522B)


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