mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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
|
||
|
|