PCmake 971 Bytes
#!smake
# PCǥץ Makefile

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

APPDIR	  = tile_rect2d

TEXTFILES = Makefile cfb.c controller.c controller.h dram_stack.c \
	    main.c RGBA16cv01.h RGBA16cv02.h RGBA16cv03.h RGBA16cv04.h \
	    rsp_cfb.c spec static.c tile_rect.h tile_rectangle.c

BINFILES  = cv01.rgb cv02.rgb cv03.rgb cv04.rgb 

SUBDIRS	  = 

ERASELINE = 'install', 'main\.o'
ENDLINE   = '\.\/RGBA16cv01.h'
LDIRTV	  = '\$\(TEXHFILES\)'

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)