summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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:
..