PCmake 1.03 KB
#!smake
# PCǥץ Makefile

include $(ROOT)/usr/include/make/PRdefs

APPDIR	= fogworld

TEXTFILES = Makefile boot.c boot.h cfb.c controller.c controller.h font.c \
	    font.h font_ext.h game.c game.h gfxinit.c gfxstatic.c \
	    letters_img.h RGBA16foliageMM.h RGBA16graniteMM.h \
	    RGBA16grass2MM.h RGBA16sandMM.h RGBA16sidewalkMM.h rsp_cfb.c \
	    spec static.h ter0_data.h ter0_header.h texture.c zbuffer.c \
	    dram_stack.c

BINFILES  =

SUBDIRS	  = 

ERASELINE = 'install'
ENDLINE   = 'This is dummy'
LDIRTV	  = 

FILES	  = $(TEXTFILES) $(BINFILES)

default:
	$(INSTALL) -m 666 -F /PR/apps.pc/$(APPDIR) $(FILES)
	perl $(ROOT)/PR/apps.released/mkPCmake.pl Makefile > \
		$(ROOT)/PR/apps.pc/$(APPDIR)/Makefile
#	( \
#	cd $(ROOT)/PR/apps.pc/$(APPDIR) ; \
#	for i in $(TEXTFILES) ; do ( \
#		to_dos $$i /tmp/__pctmp ; \
#	        euctosjis /tmp/__pctmp > $$i ;  \
#	        rm -f /tmp/__pctmp )\
#	done ; \
#	)	
	cp $(ROOT)/PR/apps.released/__elfcom.c $(ROOT)/PR/apps.pc/$(APPDIR)

clean clobber:
	rm -rf $(ROOT)/PR/apps.pc/$(APPDIR)