rbtree
annotate test/rbshell/Makefile @ 14:1b8a3a6088b6
simplified find_min
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 02 Nov 2014 10:56:08 +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) |