summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0f62ec7
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,7 @@
+all : pam_wlan.so pam_wlan_test
+
+pam_wlan.so : pam_wlan.c
+ $(CC) -fPIC -shared -o pam_wlan.so pam_wlan.c $(shell pkg-config --cflags --libs libnm-glib) -Wall
+
+pam_wlan_test : pam_wlan.c
+ $(CC) -g -DTEST -o pam_wlan_test pam_wlan.c $(shell pkg-config --cflags --libs libnm-glib) -Wall