aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-09-04 09:41:08 +0000
committermerakor <cem@ckyln.com>2020-09-04 09:41:08 +0000
commit3ba0366faf94c1a65f1c16a72d5c9c1149732a9c (patch)
tree41795203b485fdd7e0d8e4b48486245084d3f0b3
parentadffb32537d8c1c6057101a34cb33fffc8316d08 (diff)
downloadcpt-3ba0366faf94c1a65f1c16a72d5c9c1149732a9c.tar.gz
Makefile: fix cpt-stat
FossilOrigin-Name: eefdf48dba2056c2a60d76210677fc87da4e4f6e17c5e56ba1fcd88bb1880933
-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}