mirror of
https://github.com/szymon-jozef/static-site-generator.git
synced 2026-09-07 12:10:42 +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
|
||||
$(CXX) $(CXXFLAGS) -c markdown.cpp
|
||||
|
||||
formatter.o: formatter.cpp formatter.hpp
|
||||
$(CXX) $(CXXFLAGS) -c formatter.hpp
|
||||
|
||||
tests.o: $(TEST_DIR)/tests.cpp config.hpp
|
||||
$(CXX) $(CXXFLAGS) -c $(TEST_DIR)/tests.cpp
|
||||
|
||||
tests: tests.o config.o utils.o markdown.o
|
||||
g++ -std=c++17 -Wall tests.o config.o utils.o markdown.o -o $(TEST_DIR)/tests $(TEST_LIBS)
|
||||
tests: tests.o config.o utils.o markdown.o formatter.o
|
||||
g++ -std=c++17 -Wall tests.o config.o utils.o markdown.o formatter.o -o $(TEST_DIR)/tests $(TEST_LIBS)
|
||||
|
||||
check: tests
|
||||
$(TEST_DIR)/tests
|
||||
|
||||
Reference in New Issue
Block a user