Update Package

This commit is contained in:
Nick Peng
2018-07-23 23:44:09 +08:00
parent 7238cbd63c
commit 9fcd90077a
2 changed files with 4 additions and 5 deletions

View File

@@ -1,11 +1,9 @@
Package: smartdns
Architecture: mipsbig
Architecture:
Priority: optional
Section: net
Version: 2018.7.6-1921
Version:
Maintainer: pymumu
Source: http://127.0.0.1/
Description: A smart dns server
Suggests:
Conflicts:
Enabled: yes

View File

@@ -7,13 +7,14 @@ CFLAGS +=-Iinclude
CFLAGS += -DBASE_FILE_NAME=\"$(notdir $<)\"
CXXFLAGS=-g -O0 -Wall -std=c++11
CXXFLAGS +=-Iinclude
LDFLAGS += -lpthread
.PHONY: all
all: $(BIN)
$(BIN) : $(OBJS)
$(CC) $(OBJS) -o $@ -lpthread
$(CC) $(OBJS) -o $@ $(LDFLAGS)
clean:
$(RM) $(OBJS) $(BIN)