PCmake 1.13 KB
#!smake
# PCǥץ Makefile

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

APPDIR	  = nosPak

TEXTFILES = Makenos.bat README test/cfb.c test/brick.h test/onetri.c \
	    test/onetri.h test/rsp_cfb.c test/spec test/static.c \
	    test/dram_stack.c test/rdp_output.c \
	    test/Makefile.pc \
	    src/pakmenu.c src/fontbmp.h src/canvas.c src/Makefile_jpn.pc \
	    src/Makefile_eng.pc src/Makefile.pc \
	    man/nosLoadFontj.man man/nosPakMenu.man man/nosPakMenuj.man \
	    man/nosLoadFont.man \
	    lib/eng lib/jpn lib/libnos.h lib/loadfont.s lib/ncode.h \
	    lib/pakmenu.h lib/pakmenu.s lib/Makefile.pc lib/canvas.s 

BINFILES  =

SUBDIRS	  = 

ERASELINE = 'install'
ENDLINE   = 'dummy'
LDIRTV	  = 

FILES	  = $(TEXTFILES) $(BINFILES)

default:
	$(INSTALL) -m 666 -F /PR/apps.pc/$(APPDIR) $(FILES)
	( \
	cd $(ROOT)/PR/apps.pc/$(APPDIR) ; \
	mv test/Makefile.pc test/Makefile ; \
	mv src/Makefile.pc src/Makefile ; \
	mv src/Makefile_jpn.pc src/Makefile_jpn ; \
	mv src/Makefile_eng.pc src/Makefile_eng ; \
	mv lib/Makefile.pc lib/Makefile ; \
	cp $(ROOT)/PR/apps.released/__elfcom.c test ;\
	)	

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