diff --git a/template/Makefile b/template/Makefile index f68fba1..fd4a163 100644 --- a/template/Makefile +++ b/template/Makefile @@ -40,8 +40,8 @@ OBJ = ${SRC:.c=.o} all: ${OBJ} -.c.o: - ${CC} -c ${CFLAGS} $< +%.o: %.c + ${CC} -c ${CFLAGS} -o $@ $< clean: rm -f ${OBJ} diff --git a/template/config.mk b/template/config.mk index eb0f063..b0c82b8 100644 --- a/template/config.mk +++ b/template/config.mk @@ -1,7 +1,3 @@ VERSION = 0.0 - PREFIX = /usr/local - CC = clang -AR = llvm-ar -RANLIB = llvm-ranlib