diff options
-rw-r--r-- | Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -7,11 +7,8 @@ BIN = ${SRC:.c=} all: ${BIN} -.c.o: - ${CC} ${CFLAGS} -c -o $@ $< - -${BIN}: ${OBJ} - ${CC} ${LDFLAGS} -o $@ $< ${LIBS} +.c: + ${CC} ${CFLAGS} ${LDFLAGS} -o $@ $< ${LIBS} clean: rm -f ${BIN} ${OBJ} |