aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 4ae4647..e1fab61 100644
--- a/Makefile
+++ b/Makefile
@@ -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}