File:  [ELWIX - Embedded LightWeight unIX -] / libelwix / example / Makefile
Revision 1.15: download - view: text, annotated - select for diffs - revision graph
Tue Feb 10 17:50:00 2026 UTC (22 hours, 44 minutes ago) by misho
Branches: MAIN
CVS tags: elwix6_15, elwix6_14, HEAD, ELWIX6_14, ELWIX6_13
Version 6.13

Changelog:
 - Implements linear ring buffer

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_mem_bench test_mem_bench.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
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o test_crc test_crc.c -lelwix -lpthread -fPIC
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o test_find2replace test_find2replace.c -lelwix -lpthread -fPIC
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o test_valid test_valid.c -lelwix -lpthread -fPIC
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o test_rbuf test_rbuf.c -lelwix -lpthread -fPIC
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o test_uuid test_uuid.c -lelwix -lpthread -fPIC
	cc -g -I/usr/local/include -I. -L. -L/usr/local/lib -o test_lrbuf test_lrbuf.c -lelwix -lpthread -fPIC

clean:
	rm -f *.o *~ test astvar test_array test_sarray test_valid test_rbuf test_uuid \
		envargs rb rb2 test_n2 test_vars test_mem test_mem_bench test_time test_lrbuf \
		test_pack test_json test_iovec test_index test_tlv test_crc test_find2replace

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