Fix a Makefile dependency on main.c

The main.c file / $(SRC) was not defined as a dependency of the $(OUT) target,
so when the file was changed, make did not recompile it.
master
itycodes 5 months ago
parent b97fc9d990
commit 13a990f9ad

@ -17,7 +17,7 @@ clean:
rm -f $(WLR_PROTOCOL_IMPL)
rm -f $(WLR_PROTOCOL_HEADER)
$(OUT): $(WLR_PROTOCOL_IMPL) $(WLR_PROTOCOL_HEADER)
$(OUT): $(WLR_PROTOCOL_IMPL) $(WLR_PROTOCOL_HEADER) $(SRC)
$(CC) $(WLR_PROTOCOL_IMPL) $(SRC) $(CFLAGS) -o $(OUT)
$(WLR_PROTOCOL_IMPL):

Loading…
Cancel
Save