From 10853d9db58c887db8c0499030cef85bcff23b9e Mon Sep 17 00:00:00 2001 From: Josuah Demangeon Date: Mon, 11 Jun 2018 23:45:08 +0200 Subject: Makefile: use a BSD make compatible syntax --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 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) -- cgit 1.4.1