2010-11-19 20:51:49 -03:00
|
|
|
CFLAGS = -Wall -Wshadow -Wmissing-prototypes -g -O
|
2010-11-19 14:00:15 -03:00
|
|
|
# -O, so that we get data flow analysis, which helps to find more bugs
|
2010-11-19 19:17:47 -03:00
|
|
|
#LDFLAGS=-pg
|
2010-11-19 14:00:15 -03:00
|
|
|
|
2010-11-19 21:17:08 -03:00
|
|
|
OBJS = gobble.o id.o prereq.o qpkg.o jrb.o
|
2010-11-19 19:47:52 -03:00
|
|
|
OBJS_rbtest = rbtest.o jrb.o
|
2010-11-19 14:00:15 -03:00
|
|
|
|
2010-11-19 19:33:05 -03:00
|
|
|
all: qpkg rbtest
|
2010-11-19 14:00:15 -03:00
|
|
|
|
2010-11-19 22:01:33 -03:00
|
|
|
jlime:
|
|
|
|
$(MAKE) clean
|
|
|
|
$(MAKE) CC=mipsel-linux-gcc
|
|
|
|
|
2010-11-19 14:00:15 -03:00
|
|
|
qpkg: $(OBJS)
|
|
|
|
|
2010-11-19 19:33:05 -03:00
|
|
|
rbtest: $(OBJS_rbtest)
|
|
|
|
|
2010-11-19 14:00:15 -03:00
|
|
|
clean:
|
2010-11-19 19:33:05 -03:00
|
|
|
rm -f $(OBJS) $(OBJS_rbtest)
|