mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-11-15 08:19:41 +02:00
7f05c9e284
- jrb.h (struct jrb_node): changed "key" and "val" from "Jval" to "void *" - jrb.h, jval.c (jrb_insert_gen, jrb_find_gen, jrb_find_gte_gen, jrb_val): replaced "Jval" with "void *" or "const void *", respectively - rbtest.c (cmp, INSERT): updated for Jval removal - rbtest.c (main): use jrb_val(jrb) instead of jval_v(jrb->val) - Makefile (OBJS_rbtest): removed jval.o - jval.h, jval.c: removed
16 lines
276 B
Makefile
16 lines
276 B
Makefile
CFLAGS = -Wall -Wshadow -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
|
|
OBJS_rbtest = rbtest.o jrb.o
|
|
|
|
all: qpkg rbtest
|
|
|
|
qpkg: $(OBJS)
|
|
|
|
rbtest: $(OBJS_rbtest)
|
|
|
|
clean:
|
|
rm -f $(OBJS) $(OBJS_rbtest)
|