编译优化

This commit is contained in:
2022-08-09 15:25:06 +08:00
parent 6024acd745
commit 588f5aa26d
4 changed files with 30 additions and 25 deletions

View File

@@ -1,11 +1,12 @@
CROSS_COMPILE ?=
CC := $(CROSS_COMPILE)gcc
CFLAGS += -g -Wall
CFLAGS += -O2 -g -Wall
LIB += -lcurl -lip4tc
OBG = rhost
all: conf.o rhost.o libiptc.o
$(CC) $(CFLAGS) $^ -o $(OBG) $(LIB)
chmod +x $(OBG)
clean:
rm -rf *.o