scc

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

Makefile (366B)


      1 .POSIX:
      2 
      3 PROJECTDIR = ../..
      4 include $(PROJECTDIR)/scripts/rules.mk
      5 
      6 OBJS = debug.o \
      7        die.o \
      8        newitem.o \
      9        xcalloc.o \
     10        xmalloc.o \
     11        xrealloc.o \
     12        xstrdup.o \
     13        alloc.o \
     14        casecmp.o \
     15        genhash.o
     16 
     17 TARGET = $(LIBDIR)/libscc.a
     18 
     19 all: $(TARGET)
     20 
     21 $(TARGET): $(OBJS)
     22 	mklib -o $@ $(OBJS)
     23 
     24 dep: inc-dep
     25 
     26 include deps.mk