scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

Makefile (280B)


      1 .POSIX:
      2 
      3 LIBDIR = ./
      4 include ../../config.mk
      5 include libdep.mk
      6 
      7 all: libscc.a
      8 
      9 $(LIB-OBJ): ../../inc/scc.h
     10 $(LIBDIR)/wmyro.o: ../../inc/myro.h
     11 $(LIBDIR)/rmyro.o: ../../inc/myro.h
     12 
     13 libscc.a: $(LIB-OBJ)
     14 	ar $(ARFLAGS) $@ $?
     15 	ranlib $@
     16 
     17 dep:
     18 
     19 clean:
     20 	rm -f *.o *.a
     21 
     22 distclean: clean