PCmake 934 Bytes
#!smake
# PCǥץ Makefile

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

APPDIR	  = simple

TEXTFILES = Makefile.pc audio.c audio.h audiomgr.c controller.c \
	    gfx.c gfx.h gfx_tri.h gfx_vtx.h gfxcfb.c gfxdlists.c \
	    gfxdynamic.c gfxinit.c gfxstack.c gfxstatic.c gfxyield.c \
	    gfxzbuffer.c misc.c misc.h simple.c simple.h spec

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) ; \
#	for i in $(TEXTFILES) ; do ( \
#		to_dos $$i /tmp/__pctmp ; \
#	        euctosjis /tmp/__pctmp > $$i ;  \
#	        rm -f /tmp/__pctmp )\
#	done ; \
#	)	
	mv	$(ROOT)/PR/apps.pc/$(APPDIR)/Makefile.pc \
		$(ROOT)/PR/apps.pc/$(APPDIR)/Makefile
	cp $(ROOT)/PR/apps.released/__elfcom.c $(ROOT)/PR/apps.pc/$(APPDIR)

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