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