mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
a89e5a4784
Addition of the new serialiser (the start anyway). Addition of regression test system. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@249 b45a01b8-16f6-495d-af2f-9b41ad6348cc
42 lines
1.3 KiB
Makefile
42 lines
1.3 KiB
Makefile
|
|
RS_TOP_DIR = ..
|
|
##### Define any flags that are needed for this section #######
|
|
###############################################################
|
|
|
|
###############################################################
|
|
include $(RS_TOP_DIR)/scripts/config.mk
|
|
###############################################################
|
|
|
|
RSOBJ = rsserial.o rsbaseserial.o rstlvbase.o rstlvtypes.o rsbaseitems.o
|
|
RSOBJ += rstlvfileitem.o rstlvutil.o
|
|
|
|
TESTOBJ = tlvbase_test.o tlvbase_test2.o tlvfileitem_test.o
|
|
TESTOBJ += tlvitems_test.o tlvstack_test.o
|
|
|
|
TESTS = tlvbase_test tlvbase_test2 tlvfileitem_test
|
|
TESTS += tlvitems_test tlvstack_test
|
|
|
|
all: librs tests
|
|
|
|
tlvbase_test : tlvbase_test.o
|
|
$(CC) $(CFLAGS) -o tlvbase_test tlvbase_test.o $(OBJ) $(LIBS)
|
|
|
|
tlvbase_test2 : tlvbase_test2.o
|
|
$(CC) $(CFLAGS) -o tlvbase_test2 tlvbase_test2.o $(OBJ) $(LIBS)
|
|
|
|
tlvfileitem_test : tlvfileitem_test.o
|
|
$(CC) $(CFLAGS) -o tlvfileitem_test tlvfileitem_test.o $(OBJ) $(LIBS)
|
|
|
|
tlvitems_test : tlvitems_test.o
|
|
$(CC) $(CFLAGS) -o tlvitems_test tlvitems_test.o $(OBJ) $(LIBS)
|
|
|
|
tlvstack_test : tlvstack_test.o
|
|
$(CC) $(CFLAGS) -o tlvstack_test tlvstack_test.o $(OBJ) $(LIBS)
|
|
|
|
|
|
|
|
###############################################################
|
|
include $(RS_TOP_DIR)/scripts/rules.mk
|
|
###############################################################
|
|
|