PCmake 1.14 KB
#!smake
# PCǥץ Makefile

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

APPDIR	  = nnsample1

TEXTFILES = Makefile audio.c audio.h boot.c cfb.c cont_finish.c \
	    cont_finish.h controller.c controller.h def.h dram_stack.c \
	    fiter_1s1.c fiter_1s1.h fiter_2s1.c fiter_2s1.h gfxdlistbuf.c \
	    gfxinit.c gfxyield.c graphic.c graphic.h graphic_00.c \
	    graphic_01.c main.c main.h main00.c main01.c main01.h \
	    message.c message.h nnsched.c nnsched.h nnsched.txt \
	    rdp_output.c README.ASCII README.TXT reflect.h segment.h \
	    spec vram.h zbuf.c

BINFILES  =

SUBDIRS	  = 

ERASELINE = 'install'
ENDLINE   = '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)