commit c714a445f7b016b17f371e3eb6d90eb5d8076622 Author: sin <[email protected]> Date: Thu Dec 4 14:30:39 2014 +0000
Just use $(OBJ) instead of hardcoded sinit.o
diff --git a/Makefile b/Makefile
index a3d253f..7e2fde5 100644
--- 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
