File:  [ELWIX - Embedded LightWeight unIX -] / libelwix / example / Makefile
Revision 1.8: download - view: text, annotated - select for diffs - revision graph
Mon Jan 24 17:08:21 2022 UTC (2 years, 9 months ago) by misho
Branches: MAIN
CVS tags: elwix6_1, elwix5_9, elwix5_8, elwix5_7, elwix5_6, elwix5_5, elwix5_4, elwix5_3, elwix5_2, elwix5_12, elwix5_11, elwix5_10, HEAD, ELWIX6_0, ELWIX5_9, ELWIX5_8, ELWIX5_7, ELWIX5_6, ELWIX5_5, ELWIX5_4, ELWIX5_3, ELWIX5_2, ELWIX5_11, ELWIX5_10, ELWIX5_1
version 5.1

all:
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o test test.c -lelwix -lpthread -fPIC
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o astvar astvar.c -lelwix -lpthread -fPIC
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o test_array test_array.c -lelwix -lpthread -fPIC
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o test_sarray test_sarray.c -lelwix -lpthread -fPIC
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o envargs envargs.c -lelwix -lpthread -fPIC
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o rb rb.c -lelwix -lpthread -fPIC
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o rb2 rb2.c -lelwix -lpthread -fPIC
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o test_n2 test_n2.c -lelwix -lpthread -fPIC
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o test_vars test_vars.c -lelwix -lpthread -fPIC
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o test_mem test_mem.c -lpthread -lelwix -lpthread -fPIC
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o test_time test_time.c -lpthread -lelwix -lpthread -fPIC
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o test_pack test_pack.c -lelwix -lpthread -fPIC
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o test_json test_json.c -lelwix -lpthread -fPIC
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o test_iovec test_iovec.c -lelwix -lpthread -fPIC
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o test_index test_index.c -lelwix -lpthread -fPIC
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o test_tlv test_tlv.c -lelwix -lpthread -fPIC

clean:
	rm -f *.o *~ test astvar test_array test_sarray \
		envargs rb rb2 test_n2 test_vars test_mem test_time test_pack \
		test_json test_iovec test_index test_tlv

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>