mirror of
https://github.com/bol-van/zapret.git
synced 2025-05-24 22:32:58 +03:00
history purge
This commit is contained in:
17
ip2net/Makefile
Normal file
17
ip2net/Makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
CC ?= gcc
|
||||
CFLAGS += -std=gnu99 -s -O3
|
||||
CFLAGS_BSD = -Wno-address-of-packed-member -Wno-logical-op-parentheses -Wno-switch
|
||||
LIBS =
|
||||
SRC_FILES = *.c
|
||||
|
||||
all: ip2net
|
||||
mac: bsd
|
||||
|
||||
ip2net: $(SRC_FILES)
|
||||
$(CC) $(CFLAGS) -o $@ $(SRC_FILES) $(LDFLAGS) $(LIBS)
|
||||
|
||||
bsd: $(SRC_FILES)
|
||||
$(CC) $(CFLAGS) $(CFLAGS_BSD) -o ip2net $(SRC_FILES) $(LDFLAGS) $(LIBS)
|
||||
|
||||
clean:
|
||||
rm -f ip2net *.o
|
Reference in New Issue
Block a user