mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
9bdd44d0f5
Most of these changes relate to: (1) rand() is different (2) sleep() don't exist on Windows. (3) networking headers are different - these need to be cleaned up in general. (4) disabled tests that won't compile on Windows. Will probably have to rollback some of these changes for Unix later. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@372 b45a01b8-16f6-495d-af2f-9b41ad6348cc
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
|
|
RS_TOP_DIR = ..
|
|
##### Define any flags that are needed for this section #######
|
|
###############################################################
|
|
|
|
###############################################################
|
|
include $(RS_TOP_DIR)/scripts/config.mk
|
|
###############################################################
|
|
|
|
RSOBJ = b64.o opendhtstr.o opendht.o opendhtmgr.o
|
|
|
|
TESTOBJ = odhtstr_test.o odhtpost_test.o odhtmgr_test.o
|
|
|
|
TESTS = odhtstr_test odhtpost_test odhtmgr_test
|
|
|
|
all: librs tests
|
|
|
|
#dhttest is OLD
|
|
dhttest: $(OBJ) dhttest.o
|
|
$(CC) $(CFLAGS) -o dhttest $(OBJ) dhttest.o $(LIBS)
|
|
|
|
odhtpost_test: $(OBJ) odhtpost_test.o
|
|
$(CC) $(CFLAGS) -o odhtpost_test $(OBJ) odhtpost_test.o $(LIBS)
|
|
|
|
odhtstr_test: $(OBJ) odhtstr_test.o
|
|
$(CC) $(CFLAGS) -o odhtstr_test $(OBJ) odhtstr_test.o $(LIBS)
|
|
|
|
odhtmgr_test: $(OBJ) odhtmgr_test.o
|
|
$(CC) $(CFLAGS) -o odhtmgr_test $(OBJ) odhtmgr_test.o $(LIBS)
|
|
|
|
# Extra Rule...
|
|
.c.o:
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
###############################################################
|
|
include $(RS_TOP_DIR)/scripts/rules.mk
|
|
###############################################################
|
|
|