scc

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

common.mk (171B)


      1 SRC=$(OBJ:.o=.c)
      2 
      3 all: libc.a
      4 
      5 libc.a: $(OBJ)
      6 	$(AR) $(ARFLAGS) $@ $?
      7 	ranlib $@
      8 
      9 dep:
     10 	../gendep.sh
     11 
     12 clean:
     13 	rm -f $(OBJ)
     14 
     15 distclean: clean
     16 	rm -f $(SRC)
     17 	rm -f makefile