scc

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

libsys.mk (268B)


      1 .POSIX:
      2 
      3 include ../../../config.mk
      4 include system.mk
      5 
      6 ASM = $(OBJ:.o=.s)
      7 
      8 all: libsys.a
      9 
     10 libsys.a: $(OBJ)
     11 	$(AR) $(ARFLAGS) $@ $?
     12 	ranlib $@
     13 
     14 $(ASM): syscall.lst
     15 	../abi/$(ABI).sh
     16 
     17 clean:
     18 	rm -f $(ASM)
     19 	rm -f $(OBJ)
     20 	rm -f libsys.a
     21 
     22 distclean: clean
     23 	rm -f system.mk