Just use $(OBJ) instead of hardcoded sinit.o - sinit - suckless init
HTML git clone git://git.suckless.org/sinit
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit c714a445f7b016b17f371e3eb6d90eb5d8076622
DIR parent 3667ce42b2a72721be800281065c5a81405f02db
HTML Author: sin <sin@2f30.org>
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(-)
---
DIR 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