Update Package
This commit is contained in:
@@ -1,11 +1,9 @@
|
|||||||
Package: smartdns
|
Package: smartdns
|
||||||
Architecture: mipsbig
|
Architecture:
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Section: net
|
Section: net
|
||||||
Version: 2018.7.6-1921
|
Version:
|
||||||
Maintainer: pymumu
|
Maintainer: pymumu
|
||||||
Source: http://127.0.0.1/
|
Source: http://127.0.0.1/
|
||||||
Description: A smart dns server
|
Description: A smart dns server
|
||||||
Suggests:
|
|
||||||
Conflicts:
|
|
||||||
Enabled: yes
|
Enabled: yes
|
||||||
|
|||||||
@@ -7,13 +7,14 @@ CFLAGS +=-Iinclude
|
|||||||
CFLAGS += -DBASE_FILE_NAME=\"$(notdir $<)\"
|
CFLAGS += -DBASE_FILE_NAME=\"$(notdir $<)\"
|
||||||
CXXFLAGS=-g -O0 -Wall -std=c++11
|
CXXFLAGS=-g -O0 -Wall -std=c++11
|
||||||
CXXFLAGS +=-Iinclude
|
CXXFLAGS +=-Iinclude
|
||||||
|
LDFLAGS += -lpthread
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
|
|
||||||
all: $(BIN)
|
all: $(BIN)
|
||||||
|
|
||||||
$(BIN) : $(OBJS)
|
$(BIN) : $(OBJS)
|
||||||
$(CC) $(OBJS) -o $@ -lpthread
|
$(CC) $(OBJS) -o $@ $(LDFLAGS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) $(OBJS) $(BIN)
|
$(RM) $(OBJS) $(BIN)
|
||||||
|
|||||||
Reference in New Issue
Block a user