master
linux 20 lines 513 Bytes
Raw
1 # This makefile is used to work from a linux environment and is not part of the OS build process.
2
3 CXXFLAGS += -std=c++20 -Wall -Wextra -g3 -fPIC -I../inc
4 LDFLAGS +=
5
6 SRC = SyscallError main Interface NetlinkResponse NetlinkParseException RuntimeErrorWithSourceLocation Utils Address NetlinkTransaction NetlinkTransactionError
7 OBJ = $(addsuffix .o, $(SRC))
8 BIN = test
9 CXX=clang++
10
11 $(BIN): $(OBJ)
12 $(CXX) $(CXXFLAGS) $(OBJ) $(LDFLAGS) -o $(BIN)
13
14 clean:
15 $(RM) $(OBJ) $(LIB) $(BIN)
16
17 check: test
18 ./test
19
20 all: check