summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 268861c..635d581 100644
--- a/Makefile
+++ b/Makefile
@@ -61,7 +61,7 @@ libcgroup.so: api.c libcgroup.h wrapper.c config.c lex.yy.c y.tab.c
test:
$(MAKE) -C tests
-pam_cgroup.so: pam_cgroup.c
+pam_cgroup.so: pam_cgroup.c libcgroup.so
$(CC) $(CFLAGS) -shared -fPIC -Wall -o $@ pam_cgroup.c $(LDFLAGS) \
$(LIBS) -lpam
diff --git a/Makefile.in b/Makefile.in
index 9c5f468..687638e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -61,7 +61,7 @@ libcgroup.so: api.c libcgroup.h wrapper.c config.c lex.yy.c y.tab.c
test:
$(MAKE) -C tests
-pam_cgroup.so: pam_cgroup.c
+pam_cgroup.so: pam_cgroup.c libcgroup.so
$(CC) $(CFLAGS) -shared -fPIC -Wall -o $@ pam_cgroup.c $(LDFLAGS) \
$(LIBS) -lpam