Just use $(OBJ) instead of hardcoded sinit.o - sinit - suckless init | |
git clone git://git.suckless.org/sinit | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit c714a445f7b016b17f371e3eb6d90eb5d8076622 | |
parent 3667ce42b2a72721be800281065c5a81405f02db | |
Author: sin <[email protected]> | |
Date: Thu, 4 Dec 2014 14:30:39 +0000 | |
Just use $(OBJ) instead of hardcoded sinit.o | |
Diffstat: | |
M Makefile | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
@@ -8,7 +8,7 @@ all: $(BIN) | |
$(BIN): $(OBJ) | |
$(CC) $(LDFLAGS) -o $@ $(OBJ) $(LDLIBS) | |
-sinit.o: config.h | |
+$(OBJ): config.h | |
install: all | |
mkdir -p $(DESTDIR)$(PREFIX)/bin |