diff options
| author | Balbir Singh <balbir@linux.vnet.ibm.com> | 2008-09-26 11:56:34 +0000 |
|---|---|---|
| committer | Balbir Singh <balbir@linux.vnet.ibm.com> | 2008-09-26 11:56:34 +0000 |
| commit | 35d2e11a0458a79c89816a2f0be6fb957f91873e (patch) | |
| tree | d3aa75330e12baf3208cc1513094fa07bd16eddd /tests/Makefile | |
| parent | a8f3daf54136de7e02fc2cf153ad55051ce95ab4 (diff) | |
| download | libcg-35d2e11a0458a79c89816a2f0be6fb957f91873e.tar.gz libcg-35d2e11a0458a79c89816a2f0be6fb957f91873e.tar.xz libcg-35d2e11a0458a79c89816a2f0be6fb957f91873e.zip | |
Merge the cgruleseng daemon from Steve Olivieri
Signed-off-by: Steve Olivieri <sjo@redhat.com>
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@190 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'tests/Makefile')
| -rw-r--r-- | tests/Makefile | 7 |
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) |
