mirror of
https://github.com/szymon-jozef/static-site-generator.git
synced 2026-09-07 20:20:41 +02:00
added formatter to makefile
This commit is contained in:
@@ -21,11 +21,14 @@ utils.o: utils.cpp utils.hpp
|
|||||||
markdown.o: markdown.cpp markdown.hpp
|
markdown.o: markdown.cpp markdown.hpp
|
||||||
$(CXX) $(CXXFLAGS) -c markdown.cpp
|
$(CXX) $(CXXFLAGS) -c markdown.cpp
|
||||||
|
|
||||||
|
formatter.o: formatter.cpp formatter.hpp
|
||||||
|
$(CXX) $(CXXFLAGS) -c formatter.hpp
|
||||||
|
|
||||||
tests.o: $(TEST_DIR)/tests.cpp config.hpp
|
tests.o: $(TEST_DIR)/tests.cpp config.hpp
|
||||||
$(CXX) $(CXXFLAGS) -c $(TEST_DIR)/tests.cpp
|
$(CXX) $(CXXFLAGS) -c $(TEST_DIR)/tests.cpp
|
||||||
|
|
||||||
tests: tests.o config.o utils.o markdown.o
|
tests: tests.o config.o utils.o markdown.o formatter.o
|
||||||
g++ -std=c++17 -Wall tests.o config.o utils.o markdown.o -o $(TEST_DIR)/tests $(TEST_LIBS)
|
g++ -std=c++17 -Wall tests.o config.o utils.o markdown.o formatter.o -o $(TEST_DIR)/tests $(TEST_LIBS)
|
||||||
|
|
||||||
check: tests
|
check: tests
|
||||||
$(TEST_DIR)/tests
|
$(TEST_DIR)/tests
|
||||||
|
|||||||
Reference in New Issue
Block a user