summaryrefslogtreecommitdiff
path: root/ipc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/Makefile')
-rw-r--r--ipc/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/ipc/Makefile b/ipc/Makefile
index 74bbefd..25d2e70 100644
--- a/ipc/Makefile
+++ b/ipc/Makefile
@@ -12,14 +12,11 @@ endif
CFLAGS += -I../../../../usr/include/
all:
-ifeq ($(ARCH),x86)
- gcc $(CFLAGS) msgque.c -o msgque_test
-else
- echo "Not an x86 target, can't build msgque selftest"
-endif
+ $(CC) $(CFLAGS) msgque.c -o msgque_test
+
+TEST_PROGS := msgque_test
-run_tests: all
- ./msgque_test
+include ../lib.mk
clean:
rm -fr ./msgque_test