summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMax Christian Pohle2016-05-05 16:20:01 +0200
committerMax Christian Pohle2016-05-05 16:20:01 +0200
commitfdb57352bf64d91371b222997d1c6a2b72fa3b38 (patch)
treeeae6cb32ec327022dab52521a7ec6eb7e8514f17 /Makefile
parenta66a946b86ff701e30b796c73367c791d21f9209 (diff)
downloadlibcaptcha-fdb57352bf64d91371b222997d1c6a2b72fa3b38.tar.bz2
libcaptcha-fdb57352bf64d91371b222997d1c6a2b72fa3b38.zip
fixed missing dependency
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7e71228..7b24b5a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,14 @@
1
2CFLAGS+=-Llibs/
3CFLAGS+=-Wl,-rpath=libs/
4
5CFLAGS+=-I../libfile_reader
6CFLAGS+=-L../libfile_reader
7CFLAGS+=-Wl,-rpath=../libfile_reader
8
1all: 9all:
2 $(CC) -Wall -g -lgd -o captcha -Wl,-rpath=libs/ -L../ -l:libfile_reader.so captcha.c 10 $(CC) -Wall -g -lgd -o captcha $(CFLAGS) -L../ -l:libfile_reader.so captcha.c
3 $(CC) -Wall -g -shared -fPIC -lgd -L../ -l:libfile_reader.so -o captcha.so captcha.c 11 $(CC) -Wall -g -shared -fPIC -lgd -o captcha.so $(CFLAGS) -L../ -l:libfile_reader.so captcha.c
4 #$(CC) -Wall -g -lgd -o captcha ../file_reader/file_reader.a captcha.c 12 #$(CC) -Wall -g -lgd -o captcha ../file_reader/file_reader.a captcha.c
5 13
6libs: 14libs:
..