rbtree

diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/rbshell/Makefile	Wed Oct 12 07:03:03 2011 +0300
     1.3 @@ -0,0 +1,14 @@
     1.4 +src = $(wildcard *.c)
     1.5 +obj = $(src:.c=.o)
     1.6 +bin = test
     1.7 +
     1.8 +CC = gcc
     1.9 +CFLAGS = -pedantic -Wall -g -I../../src -I/usr/local/include
    1.10 +LDFLAGS = -L../.. -L/usr/local/lib -lrbtree
    1.11 +
    1.12 +$(bin): $(obj)
    1.13 +	$(CC) -o $@ $(obj) $(LDFLAGS)
    1.14 +
    1.15 +.PHONY: clean
    1.16 +clean:
    1.17 +	rm -f $(obj) $(bin)