summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index e668032..7a38b7a 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -2,9 +2,11 @@ LDFLAGS = -L ..
LIBS = -lcgroup -lpthread
INC = -I ..
CXXFLAGS = -g -O2 -Wall -DDEBUG $(INC)
+CFLAGS = -g -O2 -Wall -DDEBUG
TARGET= libcgrouptest01 \
- libcg_ba
+ libcg_ba \
+ setuid
all: $(TARGET)
@@ -14,5 +16,8 @@ libcgrouptest01: libcgrouptest01.c
libcg_ba: libcg_ba.cpp
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(LIBS)
+setuid: setuid.c
+ $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(LIBS)
+
clean:
\rm -f $(TARGET)