mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 02:44:20 -05: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
29 lines
740 B
Makefile
29 lines
740 B
Makefile
|
|
RS_TOP_DIR = ..
|
|
##### Define any flags that are needed for this section #######
|
|
###############################################################
|
|
|
|
EXTRA_CFLAGS += -I$(UPNPC_DIR) -DMINIUPNP_EXPORTS
|
|
|
|
###############################################################
|
|
include $(RS_TOP_DIR)/scripts/config.mk
|
|
###############################################################
|
|
|
|
CFLAGS += $(EXTRA_CFLAGS)
|
|
|
|
RSOBJ = upnphandler.o upnputil.o
|
|
|
|
TESTOBJ = upnptest.o
|
|
|
|
TESTS = upnptest
|
|
|
|
all: librs tests
|
|
|
|
upnptest: $(OBJ) upnptest.o
|
|
$(CC) $(CFLAGS) -o upnptest $(OBJ) upnptest.o $(LIBS)
|
|
|
|
###############################################################
|
|
include $(RS_TOP_DIR)/scripts/rules.mk
|
|
###############################################################
|
|
|