Subversion Repositories Tewi

Rev

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

Rev 249 Rev 253
Line 1... Line 1...
1
# $Id: Makefile 249 2024-10-03 20:59:55Z nishi $
1
# $Id: Makefile 253 2024-10-04 03:13:36Z 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: tewi.rc ../Binary/tewi.ico
48
tewi.res: concat.rc ../Binary/tewi.ico
49
	$(WINDRES) tewi.rc -O coff -o $@
49
	$(WINDRES) concat.rc -O coff -o $@
50
 
50
 
51
tewi_bcc.res: tewi.rc ../Binary/tewi.ico
51
tewi_bcc.res: concat.rc ../Binary/tewi.ico
52
	brc32 -r -fo$@ tewi.rc
52
	brc32 -r -fo$@ concat.rc
53
 
53
 
54
gui.res: gui.rc gui.h
54
gui.res: concat.rc gui.h
55
	$(WINDRES) gui.rc -O coff -o $@
55
	$(WINDRES) concat.rc -O coff -o $@
56
 
56
 
57
gui_bcc.res: gui.rc gui.h
57
gui_bcc.res: concat.rc gui.h
58
	brc32 -r -fo$@ gui.rc
58
	brc32 -r -fo$@ concat.rc
59
 
59
 
60
vc6.res: tewi.rc gui.rc
60
vc6.res: concat.rc
61
	cat tewi.rc gui.rc > concat.rc
-
 
62
	rc /fo$@ concat.rc
61
	rc /fo$@ concat.rc
63
	rm -f concat.rc
62
	rm -f concat.rc
64
 
63
 
-
 
64
concat.rc: tewi.rc gui.rc
-
 
65
	cat tewi.rc gui.rc > concat.rc
-
 
66
 
65
clean:
67
clean:
66
	rm -f *.o tewi *.exe *.res *.elf *.sfo *.pbp *.self *.pkg *.obj concat.rc
68
	rm -f *.o tewi *.exe *.res *.elf *.sfo *.pbp *.self *.pkg *.obj concat.rc