mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-21 11:29:56 +00:00
Merge branch 'master' of https://github.com/orignal/i2pd
This commit is contained in:
commit
5b7737ca6d
9
Makefile
9
Makefile
@ -9,7 +9,7 @@ INCFLAGS =
|
||||
LDFLAGS = -Wl,-rpath,/usr/local/lib -lcryptopp -lboost_system -lboost_filesystem -lboost_regex -lpthread
|
||||
LIBS =
|
||||
|
||||
all: i2p
|
||||
all: obj i2p
|
||||
|
||||
i2p: $(OBJECTS:obj/%=obj/%)
|
||||
$(CC) -o $@ $^ $(LDFLAGS) $(LIBS)
|
||||
@ -18,11 +18,14 @@ i2p: $(OBJECTS:obj/%=obj/%)
|
||||
.SUFFIXES: .c .cc .C .cpp .o
|
||||
|
||||
obj/%.o : %.cpp
|
||||
mkdir -p obj
|
||||
$(CC) -o $@ $< -c $(CFLAGS) $(INCFLAGS)
|
||||
|
||||
obj:
|
||||
mkdir -p obj
|
||||
|
||||
clean:
|
||||
rm -fr obj
|
||||
rm -fr obj i2p
|
||||
|
||||
.PHONY: all
|
||||
.PHONY: clean
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user