PCmake
1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!smake
# PCǥץ Makefile
include $(ROOT)/usr/include/make/PRdefs
APPDIR = tile_rect3d
TEXTFILES = Makefile cafe.c cafe.h cfb.c controller.c controller.h \
cv01.h cv03.h cv04.h cv05.h cv06.h dram_stack.c main.c \
rd01.h rd02.h rd03.h rd04.h rd05.h rd06.h \
road.c road.h rsp_cfb.c spec static.c tile_rect.h \
tile_rectangle.c world.c world.h \
world01.h world02.h world03.h world04.h world05.h world06.h
BINFILES = cv01.rgb cv03.rgb cv04.rgb cv05.rgb cv06.rgb \
rd01.rgb rd02.rgb rd03.rgb rd04.rgb rd05.rgb rd06.rgb \
world01.rgb world02.rgb world03.rgb world04.rgb \
world05.rgb world06.rgb
SUBDIRS =
ERASELINE = 'install', 'cafe\.o', 'road\.o', 'world\.o',
ENDLINE = '\.SUFFIXES'
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)