diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 31 |
1 files changed, 16 insertions, 15 deletions
@@ -7,26 +7,27 @@ INSTALL_DIR ?= /usr/local/ | |||
7 | 7 | ||
8 | LIBRARY = lib$(TARGET_NAME).so | 8 | LIBRARY = lib$(TARGET_NAME).so |
9 | SOURCES = gnunet_chat_lib.c\ | 9 | SOURCES = 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 | ||
22 | HEADERS = gnunet_chat_lib.h | 22 | HEADERS = gnunet_chat_lib.h |
23 | 23 | ||
24 | TESTS = test_gnunet_chat_handle.c | 24 | TESTS = test_gnunet_chat_handle.c\ |
25 | test_gnunet_chat_lobby.c | ||
25 | 26 | ||
26 | LIBRARIES = gnunetarm\ | 27 | LIBRARIES = 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 | ||
68 | check: $(TEST_CASES) | 69 | check: $(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) |