about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosuah Demangeon <mail@josuah.net>2018-06-11 23:45:08 +0200
committerLeah Neukirchen <leah@vuxu.org>2018-06-12 18:04:51 +0200
commit10853d9db58c887db8c0499030cef85bcff23b9e (patch)
treee76d7db4ed05146843b1eb9782fc5c9d79a51e76
parent12ba32472cd44f18dc35e71fac111c932cbf1d4d (diff)
downloadministat-master.tar.gz
ministat-master.tar.xz
ministat-master.zip
Makefile: use a BSD make compatible syntax HEAD master
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 24bcd7d..abcf9e8 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ all: $(BIN)
 $(BIN): $(OBJS)
 	$(CC) $(OBJS) ${LDFLAGS} -o ${BIN} $(LIBS)
 
-$(OBJS): %.o: %.c
+$(OBJS): $(OBJS:.o=.c)
 	$(CC) -c $(CFLAGS) $(CPPFLAGS) $<
 
 install:
@@ -34,5 +34,3 @@ clean:
 	-rm -rf $(BIN) *.o *.core
 
 .PHONY: install clean
-
--include $(DEPS)