diff options
author | Max Christian Pohle | 2015-10-12 04:15:25 +0200 |
---|---|---|
committer | Max Christian Pohle | 2015-10-12 04:15:25 +0200 |
commit | a66a946b86ff701e30b796c73367c791d21f9209 (patch) | |
tree | cf75cba357d36397bcc823bb4304bdea9b9ce805 /Makefile | |
download | libcaptcha-a66a946b86ff701e30b796c73367c791d21f9209.tar.bz2 libcaptcha-a66a946b86ff701e30b796c73367c791d21f9209.zip |
version depends on gd and creates a traditional captcha
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
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 @@ | |||
1 | all: | ||
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 | |||
6 | libs: | ||
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 | |||
10 | strip: | ||
11 | strip -s *.so | ||