Subversion Repositories Tewi

Rev

Rev 183 | Rev 189 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 183 Rev 187
Line 1... Line 1...
1
# $Id: Makefile 183 2024-09-27 16:15:15Z nishi $
1
# $Id: Makefile 187 2024-09-28 00:07:34Z nishi $
2
 
2
 
3
include $(PWD)/Platform/$(PLATFORM).mk
3
include $(PWD)/Platform/$(PLATFORM).mk
4
 
4
 
5
.PHONY: all clean
5
.PHONY: all clean
6
.SUFFIXES: .c .o
6
.SUFFIXES: .c .o
Line 19... Line 19...
19
	pack-pbp $@ param.sfo ../Binary/psp.png NULL NULL NULL NULL tewi_strip$(EXEC) NULL
19
	pack-pbp $@ param.sfo ../Binary/psp.png NULL NULL NULL NULL tewi_strip$(EXEC) NULL
20
 
20
 
21
param.sfo:
21
param.sfo:
22
	mksfoex -d MEMSIZE=1 'Tewi HTTPd' $@
22
	mksfoex -d MEMSIZE=1 'Tewi HTTPd' $@
23
 
23
 
-
 
24
tewi.self: tewi_strip$(EXEC)
-
 
25
	sprxlinker tewi_strip$(EXEC)
-
 
26
	make_self_npdrm tewi_strip$(EXEC) $@ UP0001-TEWI_00-0000000000000000
-
 
27
	fself tewi_strip$(EXEC) tewi.fake.self
-
 
28
 
-
 
29
tewi.pkg: tewi.self
-
 
30
	mkdir -p pkg/USRDIR
-
 
31
	cp /usr/local/ps3dev/bin/ICON0.PNG pkg/ICON0.PNG
-
 
32
	make_self_npdrm tewi.elf pkg/USRDIR/EBOOT.BIN UP0001-TEWI_00-0000000000000000
-
 
33
	sfo.py --title "Tewi HTTPd" --appid "TEWI" -f /usr/local/ps3dev/bin/sfo.xml pkg/PARAM.SFO
-
 
34
	pkg.py --contentid UP0001-TEWI_00-0000000000000000 pkg/ $@
-
 
35
	rm -rf pkg
-
 
36
 
24
.c.o:
37
.c.o:
25
	$(CC) $(CFLAGS) $(EXTCFLAGS) -c -o $@ $<
38
	$(CC) $(CFLAGS) $(EXTCFLAGS) -c -o $@ $<
26
 
39
 
27
tewi.res: tewi.rc ../Binary/tewi.ico
40
tewi.res: tewi.rc ../Binary/tewi.ico
28
	$(WINDRES) tewi.rc -O coff -o $@
41
	$(WINDRES) tewi.rc -O coff -o $@
29
 
42
 
30
clean:
43
clean:
31
	rm -f *.o tewi *.exe *.res *.elf *.sfo *.pbp
44
	rm -f *.o tewi *.exe *.res *.elf *.sfo *.pbp *.self *.pkg