rbtree

view test/rbshell/Makefile @ 12:ea44ca011995

fixed the vis makefile
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 18 Jan 2014 15:26:11 +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)