aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-04-11 11:43:08 +0300
committereug-vs <eugene@eug-vs.xyz>2022-04-11 11:43:08 +0300
commit708c9a4c65e943ca55a7d31d1826c42650139b50 (patch)
tree5c54f3cdea8cd37a81f52cdfb3ce129fca535fc8
parent28d65efb66a2fb068ed9d5be082fa5167007d731 (diff)
downloadcarcassonne-engine-c-708c9a4c65e943ca55a7d31d1826c42650139b50.tar.gz
fix: correctly resolve object dependencies
-rwxr-xr-xMakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f45146e..fa57919 100755
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ build: $(BIN)
$(BIN): $(OBJECTS)
$(CC) $(CFLAGS) $(OBJECTS) -o $(BIN)
-$(OBJ)/%.o: $(SRC)/%.c $(SRC)/*.h
+$(OBJ)/%.o: $(SRC)/%.c $(SRC)/%.h
$(CC) -c $< -o $@
clean: