diff --git a/Makefile b/Makefile index 5b079fa..a664f60 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,12 @@ debug: mkdir -p build/debug $(CC) -o $(BUILD_DIR)/debug/$(BUILD_NAME)-$(OS) $(CFLAGS) src/* +test: testgemparse testurllib + testgemparse: mkdir -p $(BUILD_DIR)/test $(CC) -o $(BUILD_DIR)/test/gemparse-$(OS) -D TESTGEMPARSE src/gemparse.c + +testurllib: + mkdir -p $(BUILD_DIR)/test + $(CC) -o $(BUILD_DIR)/test/urllib-$(OS) -D TESTURLLIB lib/url.c