summaryrefslogtreecommitdiff
path: root/url_handler/Makefile
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2019-11-05 10:31:02 +0100
committerTom Smeding <tom.smeding@gmail.com>2019-11-05 10:32:46 +0100
commit18417582b74eae55180c2f485784575ad56b3f75 (patch)
tree92dd3f0e80cc3e7b02f46485f1700ef2c598093c /url_handler/Makefile
parentd179a5b469d609a7c7f15d841dfb95fe77b3125e (diff)
Add url handler for seqnum_serverHEADmaster
Diffstat (limited to 'url_handler/Makefile')
-rw-r--r--url_handler/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/url_handler/Makefile b/url_handler/Makefile
new file mode 100644
index 0000000..3c03697
--- /dev/null
+++ b/url_handler/Makefile
@@ -0,0 +1,22 @@
+CXX = g++
+CXXFLAGS = -Wall -Wextra -O2 -g -std=c++17 -fwrapv -pthread
+LDFLAGS = -pthread
+
+TARGET = url_handler
+
+SOURCES = $(wildcard *.cpp)
+OBJECTS = $(SOURCES:.cpp=.o)
+
+.PHONY: all clean
+
+all: $(TARGET)
+
+clean:
+ rm -f $(TARGET) *.o
+
+
+$(TARGET): $(OBJECTS)
+ $(CXX) $^ -o $@ $(LDFLAGS)
+
+%.o: %.cpp $(wildcard *.h)
+ $(CXX) $(CXXFLAGS) -c -o $@ $<