Update makefile

This commit is contained in:
2023-10-24 18:04:36 +07:00
parent d4fb2a4de5
commit 5d70137d56
7 changed files with 1899 additions and 0 deletions

10
Makefile Normal file
View File

@@ -0,0 +1,10 @@
CC=gcc
CFLAGS=
SFLAGS=-shared -fPIC
TARGET_DIR=lib
parser_lib.so: $(TARGET_DIR)
$(CC) $(SFLAGS) iptables_parser_lib.c -o $(TARGET_DIR)/$@
parser: $(TARGET_DIR)
$(CC) iptables_parser.c -o $(TARGET_DIR)/$@