1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-15 00:41:53 +02:00
wernermisc/qpkg/Makefile
Werner Almesberger 7f05c9e284 qpkg: remove Jval
- 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
2010-11-19 19:47:52 -03:00

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)