rbtree

view test/rbshell/Makefile @ 6:028a21468abf

added rbshell test
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 12 Oct 2011 07:03:03 +0300
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)