Skip to content

Commit fcae478

Browse files
author
Pavel Siska
committed
Makefile
1 parent df178b6 commit fcae478

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

new-process-api/Makefile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
CXX := g++
2+
CXXFLAGS := -std=c++20 -Wall -Wextra -pedantic -Wunused -Wconversion -Wsign-conversion -g -fsanitize=address
3+
INCLUDES := -I/usr/include
4+
LDFLAGS := -lboost_system -lboost_filesystem
5+
6+
TARGET := ipx
7+
SRC := main.cpp fieldManager.cpp icmp.cpp
8+
9+
.PHONY: all clean
10+
11+
all: $(TARGET)
12+
13+
$(TARGET): $(SRC)
14+
$(CXX) $(CXXFLAGS) $(INCLUDES) $^ -o $@ $(LDFLAGS)
15+
16+
clean:
17+
rm -f $(TARGET)

0 commit comments

Comments
 (0)