summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMax Christian Pohle2015-10-12 04:15:25 +0200
committerMax Christian Pohle2015-10-12 04:15:25 +0200
commita66a946b86ff701e30b796c73367c791d21f9209 (patch)
treecf75cba357d36397bcc823bb4304bdea9b9ce805 /Makefile
downloadlibcaptcha-a66a946b86ff701e30b796c73367c791d21f9209.tar.bz2
libcaptcha-a66a946b86ff701e30b796c73367c791d21f9209.zip
version depends on gd and creates a traditional captcha
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..7e71228
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
1all:
2 $(CC) -Wall -g -lgd -o captcha -Wl,-rpath=libs/ -L../ -l:libfile_reader.so captcha.c
3 $(CC) -Wall -g -shared -fPIC -lgd -L../ -l:libfile_reader.so -o captcha.so captcha.c
4 #$(CC) -Wall -g -lgd -o captcha ../file_reader/file_reader.a captcha.c
5
6libs:
7 #$(CC) -Wall -g -shared -fPIC -lgd -Wl,-rpath=../file/reader/ -L../file/reader/ -l:file_reader.so -o captcha.so captcha.c
8 #$(CC) -Wall -g -lgd -Wl,-rpath=../file/reader/ -L../file/reader/ -o captcha ../file/reader/file_reader.a captcha.c
9
10strip:
11 strip -s *.so
..