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