From 18417582b74eae55180c2f485784575ad56b3f75 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Tue, 5 Nov 2019 10:31:02 +0100 Subject: Add url handler for seqnum_server --- url_handler/Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 url_handler/Makefile (limited to 'url_handler/Makefile') 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 $@ $< -- cgit v1.2.3-70-g09d2