summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan T. DeKok <aland@freeradius.org>2015-07-13 09:50:24 -0400
committerAlan T. DeKok <aland@freeradius.org>2015-07-13 09:58:12 -0400
commit98c489efb5ce35f709854164cec095398530bc8a (patch)
tree13dfa135c69688758e8ecc779ac08b0c3f913343 /src
parent606e4559c1b2a00390eacc8a1a623660539f36a3 (diff)
downloadlibpam-radius-auth-98c489efb5ce35f709854164cec095398530bc8a.tar.gz
libpam-radius-auth-98c489efb5ce35f709854164cec095398530bc8a.zip
More build checks.
If configure fails, don't build anything
Diffstat (limited to 'src')
-rw-r--r--src/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 94b9d76..36ad14a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,7 +1,11 @@
all: pam_radius_auth.o md5.o
-pam_radius_auth.o: pam_radius_auth.c pam_radius_auth.h
+pam_radius_auth.o: pam_radius_auth.c pam_radius_auth.h config.h
$(CC) $(CFLAGS) -c $< -o $@
md5.o: md5.c md5.h
$(CC) $(CFLAGS) -c $< -o $@
+
+.PHONY: clean
+clean:
+ @rm -f *~ *.so *.o src/*.o src/*~