rbtree

annotate test/rbshell/Makefile @ 15:1b77b72688fe

- fixed bug in rb_init making it ignore comparison functions other than the builtin - fixed rb_find and rb_findi return type, which should be struct rbnode*, not void*
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 02 Nov 2014 11:00:27 +0200
parents
children
rev   line source
nuclear@6 1 src = $(wildcard *.c)
nuclear@6 2 obj = $(src:.c=.o)
nuclear@6 3 bin = test
nuclear@6 4
nuclear@6 5 CC = gcc
nuclear@6 6 CFLAGS = -pedantic -Wall -g -I../../src -I/usr/local/include
nuclear@6 7 LDFLAGS = -L../.. -L/usr/local/lib -lrbtree
nuclear@6 8
nuclear@6 9 $(bin): $(obj)
nuclear@6 10 $(CC) -o $@ $(obj) $(LDFLAGS)
nuclear@6 11
nuclear@6 12 .PHONY: clean
nuclear@6 13 clean:
nuclear@6 14 rm -f $(obj) $(bin)