mirror of
https://github.com/szymon-jozef/static-site-generator.git
synced 2026-09-07 12:10:42 +02:00
reading config
This commit is contained in:
16
src/makefile
Normal file
16
src/makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
CXX = g++
|
||||
CXXFLAGS = -std=c++17 -Wall
|
||||
|
||||
all: blog
|
||||
|
||||
blog: main.o config.o
|
||||
$(CXX) $(CXXFLAGS) main.o config.o -o blog
|
||||
|
||||
main.o: main.cpp config.hpp
|
||||
$(CXX) $(CXXFLAGS) -c main.cpp
|
||||
|
||||
config.o: config.cpp config.hpp
|
||||
$(CXX) $(CXXFLAGS) -c config.cpp
|
||||
|
||||
clean:
|
||||
rm -f *.o blog
|
||||
Reference in New Issue
Block a user