summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan T. DeKok <aland@freeradius.org>2015-07-13 09:25:16 -0400
committerAlan T. DeKok <aland@freeradius.org>2015-07-13 09:25:16 -0400
commit606e4559c1b2a00390eacc8a1a623660539f36a3 (patch)
treeb49961c1019868afa14bea88a31f14e5319aa2d8 /src
parent86bb0ee4f938c85d74e64b01559a433554ad1ad6 (diff)
downloadlibpam-radius-auth-606e4559c1b2a00390eacc8a1a623660539f36a3.tar.gz
libpam-radius-auth-606e4559c1b2a00390eacc8a1a623660539f36a3.zip
Build objects in src directory
Which is a bit better practice
Diffstat (limited to 'src')
-rw-r--r--src/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..94b9d76
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,7 @@
+all: pam_radius_auth.o md5.o
+
+pam_radius_auth.o: pam_radius_auth.c pam_radius_auth.h
+ $(CC) $(CFLAGS) -c $< -o $@
+
+md5.o: md5.c md5.h
+ $(CC) $(CFLAGS) -c $< -o $@