rune: avoid shadowing var in test/run.c
[ccan] / ccan / lbalance / tools / Makefile
1 #! /usr/bin/make
2 CCANDIR=../../..
3
4 CCAN_OBJS:=ccan-jmap.o ccan-time.o
5
6 CFLAGS=-I$(CCANDIR) -Wall -g #-O2
7 LDLIBS=-lJudy
8
9 lbalance: lbalance.c $(CCAN_OBJS)
10
11 clean:
12         rm -f lbalance $(CCAN_OBJS)
13
14 ccan-jmap.o: $(CCANDIR)/ccan/jmap/jmap.c
15         $(CC) $(CFLAGS) -c -o $@ $<
16
17 ccan-time.o: $(CCANDIR)/ccan/time/time.c
18         $(CC) $(CFLAGS) -c -o $@ $<