#! make -f

SUBDIRS		=

SRCS		= main.c data.c draw.c launch.c
TARGET_BIN	= main.srl

include	$(NITROSDK_ROOT)/build/buildtools/commondefs

LINCLUDES      += $(NITROSDK_ROOT)/include/netcard
LINCLUDES      += $(NITROSDK_ROOT)/include/netcard/ds

TARGETS	+= ncviewer.bwf

do-build:	$(TARGETS)

include	$(NITROSDK_ROOT)/build/buildtools/modulerules

ncviewer.mrg: bin/ARM9-TS/Release/main.srl 
	$(NCMERGE) -D $^ -o $@

ncviewer.bwf: ncviewer.mrg
	$(NCPUBLISH) -n ncviewer -Z -l $^
