Subversion Repositories Tewi

Rev

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

Rev 253 Rev 255
Line 1... Line 1...
1
# $Id: Makefile 253 2024-10-04 03:13:36Z nishi $
1
# $Id: Makefile 255 2024-10-04 04:08:58Z nishi $
2
 
2
 
3
OBJ=o
3
OBJ=o
4
STATIC=a
4
STATIC=a
5
include $(PWD)/Platform/$(PLATFORM).mk
5
include $(PWD)/Platform/$(PLATFORM).mk
6
 
6
 
Line 43... Line 43...
43
	package_finalize $@
43
	package_finalize $@
44
 
44
 
45
.c.$(OBJ):
45
.c.$(OBJ):
46
	$(CC) $(CFLAGS) $(EXTCFLAGS) -c -o $@ $<
46
	$(CC) $(CFLAGS) $(EXTCFLAGS) -c -o $@ $<
47
 
47
 
48
tewi.res: concat.rc ../Binary/tewi.ico
48
gui.res: concat.rc ../Binary/tewi.ico
49
	$(WINDRES) concat.rc -O coff -o $@
-
 
50
 
-
 
51
tewi_bcc.res: concat.rc ../Binary/tewi.ico
-
 
52
	brc32 -r -fo$@ concat.rc
-
 
53
 
-
 
54
gui.res: concat.rc gui.h
-
 
55
	$(WINDRES) concat.rc -O coff -o $@
49
	$(WINDRES) concat.rc -O coff -o $@
56
 
50
 
57
gui_bcc.res: concat.rc gui.h
51
gui_bcc.res: concat.rc gui.h
58
	brc32 -r -fo$@ concat.rc
52
	brc32 -r -fo$@ concat.rc
59
 
53
 
Line 63... Line 57...
63
 
57
 
64
concat.rc: tewi.rc gui.rc
58
concat.rc: tewi.rc gui.rc
65
	cat tewi.rc gui.rc > concat.rc
59
	cat tewi.rc gui.rc > concat.rc
66
 
60
 
67
clean:
61
clean:
68
	rm -f *.o tewi *.exe *.res *.elf *.sfo *.pbp *.self *.pkg *.obj concat.rc
62
	rm -f *.o tewi *.exe *.res *.elf *.sfo *.pbp *.self *.pkg *.obj concat.rc *.tds