summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 707302a..1c57de7 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -3,8 +3,16 @@ LIBS = -lcgroup
INC = -I ..
CXXFLAGS = -g -O2 -Wall -DDEBUG $(INC)
+TARGET= libcgrouptest01 \
+ libcg_ba
+
+all: $(TARGET)
+
+libcgrouptest01: libcgrouptest01.c
+ $(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(LIBS)
+
libcg_ba: libcg_ba.cpp
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(LIBS)
clean:
- \rm libcg_ba
+ \rm -f $(TARGET)