school

thing1's amazing school repo
Log | Files | Refs | Submodules | README

Makefile (250B)


      1 CC=cc
      2 CFLAGS=-O3
      3 
      4 SRC = String.c
      5 OBJ = ${SRC:.c=.o}
      6 
      7 
      8 all:
      9 	${CC} -c ${SRC} -o ${OBJ} ${CFLAGS}
     10 install: all 
     11 	cp String.o /usr/local/share/zpylib/
     12 	cp String.h /usr/local/share/zpylib/include/
     13 clean:
     14 	rm -rf *.o
     15 
     16 .PHONY: all clean install uninstall