rbtree

annotate 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
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)