Basic side rcu test
[libside.git] / Makefile
index 496f212ed3f7d6c15db43ca01de20c5d5ec05bfe..ccc4ea117ed088bbdc587c9c6d07cf71a89d815b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,10 @@
-all: test
+SUBDIRS := src/ tests/
 
-test: test.c
-       gcc -O2 -g -Wall -o test test.c
-
-.PHONY: clean
+all: $(SUBDIRS)
+$(SUBDIRS):
+       $(MAKE) -C $@
 
 clean:
-       rm -f test
+       for dir in $(SUBDIRS); do $(MAKE) clean -C $$dir; done
+
+.PHONY: all $(SUBDIRS) clean
This page took 0.023129 seconds and 4 git commands to generate.