summaryrefslogtreecommitdiff
path: root/Makefile
blob: 7e71228329adcdcb5fb4e0c880dfaddbd7bdade8 (plain)
1
2
3
4
5
6
7
8
9
10
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
..