1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-15 11:50:37 +02:00
wernermisc/qpkg/Makefile
Werner Almesberger e1814ce372 qpkg: converted dumb binary trees to red-black trees (in progress)
This is a change of the underlying mechanism but it's not polished or
optimized yet. The compare functions haven't been updated, so they work
but produce compiler warnings because of type mismatches.

- Makefile (OBJS): added jrb.o
- id.h, id.c: use jrb instead of own dumb binary trees
- TODO: brag about the efficiency improvement
2010-11-19 21:53:38 -03:00

16 lines
303 B
Makefile

CFLAGS = -Wall -Wshadow -Wmissing-prototypes -g -O
# -O, so that we get data flow analysis, which helps to find more bugs
#LDFLAGS=-pg
OBJS = gobble.o id.o prereq.o qpkg.o jrb.o
OBJS_rbtest = rbtest.o jrb.o
all: qpkg rbtest
qpkg: $(OBJS)
rbtest: $(OBJS_rbtest)
clean:
rm -f $(OBJS) $(OBJS_rbtest)