Makefile 542 Bytes


INCL = -I $(ROOT) \
	-I $(ROOT)/host_include \
	-I ../../../sw/bbplayer/lib/libdbp \
	-I ../../../sw/bbplayer/lib/libjtag

LIBS = ../../../sw/bbplayer/lib/libdbp/libdbp.a \
	../../../sw/bbplayer/lib/libjtag/libjtag.a

DIRT = dbg-test dbg-mon

all: dbg-test dbg-mon dbg-dump

dbg-test: dbg-test.c $(LIBS)
	cc $(INCL) -g -o dbg-test dbg-test.c $(LIBS)

dbg-mon: dbg-mon.c $(LIBS)
	cc $(INCL) -g -o dbg-mon dbg-mon.c $(LIBS)

dbg-dump: dbg-dump.c $(LIBS)
	cc $(INCL) -g -o dbg-dump dbg-dump.c $(LIBS)

clean: _always
	rm -rf $(DIRT)

_always: