diff options
author | Max Christian Pohle | 2016-05-05 16:20:01 +0200 |
---|---|---|
committer | Max Christian Pohle | 2016-05-05 16:20:01 +0200 |
commit | fdb57352bf64d91371b222997d1c6a2b72fa3b38 (patch) | |
tree | eae6cb32ec327022dab52521a7ec6eb7e8514f17 /Makefile | |
parent | a66a946b86ff701e30b796c73367c791d21f9209 (diff) | |
download | libcaptcha-fdb57352bf64d91371b222997d1c6a2b72fa3b38.tar.bz2 libcaptcha-fdb57352bf64d91371b222997d1c6a2b72fa3b38.zip |
fixed missing dependency
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -1,6 +1,14 @@ | |||
1 | |||
2 | CFLAGS+=-Llibs/ | ||
3 | CFLAGS+=-Wl,-rpath=libs/ | ||
4 | |||
5 | CFLAGS+=-I../libfile_reader | ||
6 | CFLAGS+=-L../libfile_reader | ||
7 | CFLAGS+=-Wl,-rpath=../libfile_reader | ||
8 | |||
1 | all: | 9 | all: |
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 | ||
6 | libs: | 14 | libs: |