rbtree

view 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
line source
1 src = $(wildcard *.c)
2 obj = $(src:.c=.o)
3 bin = test
5 CC = gcc
6 CFLAGS = -pedantic -Wall -g -I../../src -I/usr/local/include
7 LDFLAGS = -L../.. -L/usr/local/lib -lrbtree
9 $(bin): $(obj)
10 $(CC) -o $@ $(obj) $(LDFLAGS)
12 .PHONY: clean
13 clean:
14 rm -f $(obj) $(bin)