aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile31
1 files changed, 16 insertions, 15 deletions
diff --git a/Makefile b/Makefile
index d8a8872..6e553d4 100644
--- a/Makefile
+++ b/Makefile
@@ -7,26 +7,27 @@ INSTALL_DIR ?= /usr/local/
7 7
8LIBRARY = lib$(TARGET_NAME).so 8LIBRARY = lib$(TARGET_NAME).so
9SOURCES = gnunet_chat_lib.c\ 9SOURCES = gnunet_chat_lib.c\
10 gnunet_chat_account.c\ 10 gnunet_chat_account.c\
11 gnunet_chat_contact.c\ 11 gnunet_chat_contact.c\
12 gnunet_chat_context.c\ 12 gnunet_chat_context.c\
13 gnunet_chat_file.c\ 13 gnunet_chat_file.c\
14 gnunet_chat_group.c\ 14 gnunet_chat_group.c\
15 gnunet_chat_handle.c\ 15 gnunet_chat_handle.c\
16 gnunet_chat_invitation.c\ 16 gnunet_chat_invitation.c\
17 gnunet_chat_lobby.c\ 17 gnunet_chat_lobby.c\
18 gnunet_chat_message.c\ 18 gnunet_chat_message.c\
19 gnunet_chat_uri.c\ 19 gnunet_chat_uri.c\
20 gnunet_chat_util.c 20 gnunet_chat_util.c
21 21
22HEADERS = gnunet_chat_lib.h 22HEADERS = gnunet_chat_lib.h
23 23
24TESTS = test_gnunet_chat_handle.c 24TESTS = test_gnunet_chat_handle.c\
25 test_gnunet_chat_lobby.c
25 26
26LIBRARIES = gnunetarm\ 27LIBRARIES = gnunetarm\
27 gnunetfs\ 28 gnunetfs\
28 gnunetidentity\ 29 gnunetidentity\
29 gnunetgns\ 30 gnunetgns\
30 gnunetmessenger\ 31 gnunetmessenger\
31 gnunetnamestore\ 32 gnunetnamestore\
32 gnunetregex\ 33 gnunetregex\
@@ -66,7 +67,7 @@ $(LIBRARY): $(OBJECT_FILES)
66 $(GNU_LD) $(LDFLAGS) $^ -o $@ $(LIBRARY_FLAGS) 67 $(GNU_LD) $(LDFLAGS) $^ -o $@ $(LIBRARY_FLAGS)
67 68
68check: $(TEST_CASES) 69check: $(TEST_CASES)
69 ./$(TEST_CASES) 70 $(foreach TEST_CASE,$(TEST_CASES),./$(TEST_CASE);)
70 71
71%.test: %.c 72%.test: %.c
72 $(GNU_CC) $(CFLAGS) $< -o $@ -I $(INCLUDE_DIR) $(TEST_FLAGS) 73 $(GNU_CC) $(CFLAGS) $< -o $@ -I $(INCLUDE_DIR) $(TEST_FLAGS)