diff options
| author | Dylan <boss@tehbox.org> | 2026-06-11 22:10:32 +1200 |
|---|---|---|
| committer | Dylan <boss@tehbox.org> | 2026-06-11 22:10:32 +1200 |
| commit | 79a977bc3bea7777de861e4c1adda6d9f9feec99 (patch) | |
| tree | 8ca935f95e5bd1f0dbc32675944703e07402df86 | |
| parent | 1330868dd540da7b51e6dafb1a39af14678589d6 (diff) | |
| download | tehjson-79a977bc3bea7777de861e4c1adda6d9f9feec99.tar.gz tehjson-79a977bc3bea7777de861e4c1adda6d9f9feec99.zip | |
fixup: Fixed makefile
Fixed build order
| -rw-r--r-- | GNUmakefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index c4383d0..0943255 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -40,7 +40,7 @@ $(INCLUDE_DIR)/%.hpp: $(SOURCE_DIR)/%.hpp lib cp $< $@ # Test binary -$(TEST): $(TEST_OBJS) $(LIB) +$(TEST): $(LIB) $(TEST_OBJS) $(CXX) $(TEST_OBJS) $(TEST_CXXFLAGS) $(TEST_LINKFLAGS) -o $(TEST) $(OBJS_DIR)/%.o: $(TEST_SRC_DIR)/%.cpp $(TEST_SOURCE) $(TEST_HEADERS) @@ -50,6 +50,7 @@ $(OBJS_DIR)/%.o: $(TEST_SRC_DIR)/%.cpp $(TEST_SOURCE) $(TEST_HEADERS) # Phony .PHONY: clean test clean: + rm -f $(INCLUDE_DIR)/* rm -f $(LIB) rm -f $(OBJS_DIR)/*.o rm -f $(TEST) |
