summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile38
1 files changed, 0 insertions, 38 deletions
diff --git a/tests/Makefile b/tests/Makefile
deleted file mode 100644
index 9ebadac..0000000
--- a/tests/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-LDFLAGS = -L .. -L.
-LIBS = -lcgroup -lpthread -ltest_functions
-INC = -I ..
-CXXFLAGS = -g -O2 -Wall -DDEBUG $(INC)
-CFLAGS = -g -O2 -Wall -DDEBUG
-
-TARGET= libtest_functions.a \
- libcgrouptest01 \
- libcg_ba \
- setuid \
- pathtest \
- walk_test
-
-all: $(TARGET)
-
-test_functions.o: test_functions.c
- $(CXX) $(CXXFLAGS) -c $<
-
-libtest_functions.a: test_functions.o
- $(AR) -cr $@ $^
-
-libcgrouptest01: test_functions.o libcgrouptest01.c
- $(CXX) $(CXXFLAGS) -o $@ libcgrouptest01.c $(LDFLAGS) $(LIBS)
-
-libcg_ba: libcg_ba.cpp
- $(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(LIBS)
-
-setuid: setuid.c
- $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(LIBS)
-
-pathtest: pathtest.c
- $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(LIBS)
-
-walk_test: walk_test.c
- $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(LIBS)
-
-clean:
- \rm -f $(TARGET) test_functions.o