Makefile (365B)
1 COPT_SPCL = -O2 -DNDEBUG 2 COPT = -Wall -Werror -Wextra -Wpedantic --std=c99 ${COPT_SPCL} 3 CC = cc 4 PREFIX = "/usr/local/bin" 5 6 .SUFFIXES: .c .o 7 .c.o: 8 ${CC} ${COPT} -c "$<" 9 10 all: encore 11 12 encore: encore.o paquet.o sm2.o cve.o 13 ${CC} ${COPT} -o "$@" encore.o paquet.o sm2.o cve.o 14 15 install: encore 16 install -m 755 encore ${PREFIX}/encore 17 18 clean: 19 rm -rf *.o *.core encore