summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorDylan <boss@tehbox.org>2026-06-06 19:36:41 +1200
committerDylan <boss@tehbox.org>2026-06-06 19:36:41 +1200
commit1d379a5cf34475f66f2ab9359f77dac162c0a40e (patch)
tree395d54815331fbcad053001bf5cb28fafb69e9d4 /GNUmakefile
parent46c896bcd78d31130321562b0659e28230261b8e (diff)
downloadtehjson-1d379a5cf34475f66f2ab9359f77dac162c0a40e.tar.gz
tehjson-1d379a5cf34475f66f2ab9359f77dac162c0a40e.zip
feat: JSON reading
- Implemented a tokenizer for json - Implemented a method which will read json from a string using the tokenizer
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index b8aab00..c4383d0 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -48,7 +48,7 @@ $(OBJS_DIR)/%.o: $(TEST_SRC_DIR)/%.cpp $(TEST_SOURCE) $(TEST_HEADERS)
# Phony
-.PHONY: clean
+.PHONY: clean test
clean:
rm -f $(LIB)
rm -f $(OBJS_DIR)/*.o
@@ -56,4 +56,5 @@ clean:
test: $(TEST)
-$(OBJS_DIR)/json.o: $(SOURCE_DIR)/json.hpp
+$(OBJS_DIR)/json.o: $(SOURCE_DIR)/json.hpp $(SOURCE_DIR)/tokenizer.h
+$(OBJS_DIR)/tokenizer.o: