From a66a946b86ff701e30b796c73367c791d21f9209 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Mon, 12 Oct 2015 04:15:25 +0200 Subject: version depends on gd and creates a traditional captcha --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7e71228 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +all: + $(CC) -Wall -g -lgd -o captcha -Wl,-rpath=libs/ -L../ -l:libfile_reader.so captcha.c + $(CC) -Wall -g -shared -fPIC -lgd -L../ -l:libfile_reader.so -o captcha.so captcha.c + #$(CC) -Wall -g -lgd -o captcha ../file_reader/file_reader.a captcha.c + +libs: + #$(CC) -Wall -g -shared -fPIC -lgd -Wl,-rpath=../file/reader/ -L../file/reader/ -l:file_reader.so -o captcha.so captcha.c + #$(CC) -Wall -g -lgd -Wl,-rpath=../file/reader/ -L../file/reader/ -o captcha ../file/reader/file_reader.a captcha.c + +strip: + strip -s *.so -- cgit v1.2.3