mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
935745a08e
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@246 b45a01b8-16f6-495d-af2f-9b41ad6348cc
29 lines
424 B
Makefile
29 lines
424 B
Makefile
|
|
RS_TOP_DIR = ..
|
|
include ../make.opt
|
|
|
|
OBJ = dhthandler.o
|
|
#CADKINC = /home/rmf24/prog/src/KadC
|
|
#CFLAGS += -I $(CADKINC)
|
|
#RSLIBS += -L $(CADKINC) -lKadC
|
|
|
|
|
|
all : $(OBJ) librs dhttest
|
|
|
|
dhttest: $(OBJ) dhttest.o
|
|
$(CC) $(CFLAGS) -o dhttest $(OBJ) dhttest.o $(RSLIBS)
|
|
|
|
librs: $(OBJ)
|
|
$(AR) r $(LIBRS) $(OBJ)
|
|
$(RANLIB) $(LIBRS)
|
|
|
|
.cc.o:
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
clean:
|
|
-/bin/rm $(OBJ) dhttest.o
|
|
|
|
clobber: clean
|
|
-/bin/rm dhttest
|
|
|