PCmake 1 KB
#!smake
# PCǥץ Makefile

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

APPDIR	= detail

TEXTFILES = Makefile app.h cfb.c czb.c gorge_dl.h gorge_vtx.h \
	    I8water32.h main.c matrix.c matrix.h RGBA16drainage32.h \
	    RGBA16field32.h RGBA16forest32.h RGBA16leaf32.h \
	    RGBA16sand64x32.h river_dl.h rsp_cfb.c rsp_czb.c spec \
	    static.c vector.c vector.h walk_around.c walk_around.h \
	    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)