Merge pull request #87 from PikalaxALT/title_screen

Title screen
This commit is contained in:
PikalaxALT
2019-08-01 21:04:28 -04:00
committed by GitHub
42 changed files with 1506 additions and 2382 deletions
+3 -3
View File
@@ -26,8 +26,8 @@ sub_80F558C: @ 80F558C
bx r0 bx r0
thumb_func_end sub_80F558C thumb_func_end sub_80F558C
thumb_func_start sub_80F55A0 thumb_func_start CB2_SaveClearScreen_Init
sub_80F55A0: @ 80F55A0 CB2_SaveClearScreen_Init: @ 80F55A0
push {r4,lr} push {r4,lr}
ldr r4, _080F55D0 @ =gUnknown_203AB54 ldr r4, _080F55D0 @ =gUnknown_203AB54
movs r0, 0x4 movs r0, 0x4
@@ -52,7 +52,7 @@ sub_80F55A0: @ 80F55A0
_080F55D0: .4byte gUnknown_203AB54 _080F55D0: .4byte gUnknown_203AB54
_080F55D4: .4byte sub_80F55DC _080F55D4: .4byte sub_80F55DC
_080F55D8: .4byte sub_80F5574 _080F55D8: .4byte sub_80F5574
thumb_func_end sub_80F55A0 thumb_func_end CB2_SaveClearScreen_Init
thumb_func_start sub_80F55DC thumb_func_start sub_80F55DC
sub_80F55DC: @ 80F55DC sub_80F55DC: @ 80F55DC
-2310
View File
File diff suppressed because it is too large Load Diff
+3
View File
@@ -1,6 +1,9 @@
.section .rodata .section .rodata
.align 2 .align 2
gUnknown_83BFBE4:: @ 83BFBE4
.incbin "baserom.gba", 0x3BFBE4, 0x2FD8
gUnknown_83C2BBC:: @ 83C2BBC gUnknown_83C2BBC:: @ 83C2BBC
.incbin "baserom.gba", 0x3C2BBC, 0x4 .incbin "baserom.gba", 0x3C2BBC, 0x4
+23 -22
View File
@@ -16352,38 +16352,39 @@ gUnknown_8EAAB98:: @ 8EAAB98
gUnknown_8EAB30C:: @ 8EAB30C gUnknown_8EAB30C:: @ 8EAB30C
.incbin "baserom.gba", 0xEAB30C, 0x3B8 .incbin "baserom.gba", 0xEAB30C, 0x3B8
gUnknown_8EAB6C4:: @ 8EAB6C4 @ title_screen
.incbin "baserom.gba", 0xEAB6C4, 0x200 @UNKNOWN gGraphics_TitleScreen_PokemonFireRedLogoPals:: @ 8EAB6C4
.incbin "graphics/title_screen/unk_8eab6c4.gbapal"
gUnknown_8EAB8C4:: @ 8EAB8C4 gGraphics_TitleScreen_PokemonFireRedLogoTiles:: @ 8EAB8C4
.incbin "baserom.gba", 0xEAB8C4, 0x1ACC .incbin "graphics/title_screen/unk_8eab8c4.8bpp.lz"
gUnknown_8EAD390:: @ 8EAD390 gGraphics_TitleScreen_PokemonFireRedLogoMap:: @ 8EAD390
.incbin "baserom.gba", 0xEAD390, 0x258 .incbin "graphics/title_screen/unk_8ead390.bin.lz"
gUnknown_8EAD5E8:: @ 8EAD5E8 gGraphics_TitleScreen_CharizardPals:: @ 8EAD5E8
.incbin "baserom.gba", 0xEAD5E8, 0x20 @UNKNOWN .incbin "graphics/title_screen/unk_8ead5e8.gbapal"
gUnknown_8EAD608:: @ 8EAD608 gGraphics_TitleScreen_CharizardTiles:: @ 8EAD608
.incbin "baserom.gba", 0xEAD608, 0x8DC .incbin "graphics/title_screen/unk_8ead608.4bpp.lz"
gUnknown_8EADEE4:: @ 8EADEE4 gGraphics_TitleScreen_CharizardMap:: @ 8EADEE4
.incbin "baserom.gba", 0xEADEE4, 0x1B0 .incbin "graphics/title_screen/unk_8eadee4.bin.lz"
gUnknown_8EAE094:: @ 8EAE094 gGraphics_TitleScreen_BackgroundPals:: @ 8EAE094
.incbin "baserom.gba", 0xEAE094, 0x20 @UNKNOWN .incbin "graphics/title_screen/unk_8eae094.gbapal"
gUnknown_8EAE0B4:: @ 8EAE0B4 gGraphics_TitleScreen_CopyrightPressStartTiles:: @ 8EAE0B4
.incbin "baserom.gba", 0xEAE0B4, 0x2C0 .incbin "graphics/title_screen/unk_8eae0b4.4bpp.lz"
gUnknown_8EAE374:: @ 8EAE374 gGraphics_TitleScreen_CopyrightPressStartMap:: @ 8EAE374
.incbin "baserom.gba", 0xEAE374, 0x114 .incbin "graphics/title_screen/unk_8eae374.bin.lz"
gUnknown_8EAE488:: @ 8EAE488 gGraphics_TitleScreen_FirePals:: @ 8EAE488
.incbin "baserom.gba", 0xEAE488, 0x20 @UNKNOWN .incbin "graphics/title_screen/unk_8eae488.gbapal"
gUnknown_8EAE4A8:: @ 8EAE4A8 gGraphics_TitleScreen_BlankObjTiles:: @ 8EAE4A8
.incbin "baserom.gba", 0xEAE4A8, 0x80 .incbin "graphics/title_screen/unk_8eae4a8.4bpp.lz"
gUnknown_8EAE528:: @ 8EAE528 gUnknown_8EAE528:: @ 8EAE528
.incbin "baserom.gba", 0xEAE528, 0x20 @UNKNOWN .incbin "baserom.gba", 0xEAE528, 0x20 @UNKNOWN
Binary file not shown.

After

Width:  |  Height:  |  Size: 78 B

@@ -0,0 +1 @@
àààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààà
Binary file not shown.

After

Width:  |  Height:  |  Size: 188 B

@@ -0,0 +1,19 @@
JASC-PAL
0100
16
82 205 180
0 0 0
255 255 189
255 246 139
255 213 65
255 172 0
197 164 49
115 180 139
98 189 156
90 197 164
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
82 205 180
Binary file not shown.

After

Width:  |  Height:  |  Size: 539 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

-34
View File
@@ -1,34 +0,0 @@
.section .rodata
.align 2
gUnknown_83BF58C:: @ 83BF58C
.incbin "baserom.gba", 0x3BF58C, 0x1C
gUnknown_83BF5A8:: @ 83BF5A8
.incbin "baserom.gba", 0x3BF5A8, 0x55C
gUnknown_83BFB04:: @ 83BFB04
.incbin "baserom.gba", 0x3BFB04, 0x18
gUnknown_83BFB1C:: @ 83BFB1C
.incbin "baserom.gba", 0x3BFB1C, 0x20
gUnknown_83BFB3C:: @ 83BFB3C
.incbin "baserom.gba", 0x3BFB3C, 0x20
gUnknown_83BFB5C:: @ 83BFB5C
.incbin "baserom.gba", 0x3BFB5C, 0x18
gUnknown_83BFB74:: @ 83BFB74
.incbin "baserom.gba", 0x3BFB74, 0x10
gUnknown_83BFB84:: @ 83BFB84
.incbin "baserom.gba", 0x3BFB84, 0x18
gUnknown_83BFB9C:: @ 83BFB9C
.incbin "baserom.gba", 0x3BFB9C, 0x20
gUnknown_83BFBBC:: @ 83BFBBC
.incbin "baserom.gba", 0x3BFBBC, 0x18
gUnknown_83BFBD4:: @ 83BFBD4
.incbin "baserom.gba", 0x3BFBD4, 0x2FE8
+259
View File
@@ -0,0 +1,259 @@
JASC-PAL
0100
256
0 255 41
0 0 0
255 238 16
246 222 41
246 238 246
255 246 24
246 246 41
246 246 246
246 255 255
255 246 255
32 0 255
106 65 156
32 0 238
246 222 24
246 222 32
255 238 41
255 238 49
255 255 16
255 255 24
255 255 246
255 255 255
123 106 156
24 41 32
32 32 74
32 0 230
115 82 164
16 0 246
106 82 172
246 238 32
255 230 24
246 230 41
246 238 41
246 230 49
246 238 49
255 246 32
255 246 41
255 255 32
255 255 41
32 24 32
32 32 41
197 156 41
197 164 41
156 156 156
164 164 156
172 172 172
180 189 180
41 0 230
189 189 189
197 189 189
197 197 197
205 205 213
8 8 197
246 230 24
246 230 32
255 238 24
255 238 32
32 32 32
32 41 32
41 32 32
41 41 32
49 32 32
49 41 32
41 32 41
49 32 41
24 41 41
32 32 90
16 24 106
24 32 98
41 32 82
41 32 98
41 41 82
41 41 98
0 0 115
8 8 131
32 24 115
32 24 131
32 41 115
41 41 115
32 41 131
41 41 131
57 41 41
57 41 49
57 49 41
57 57 57
65 41 41
74 41 41
65 57 57
74 57 57
57 74 74
65 65 74
82 74 82
82 57 131
82 90 82
90 90 90
90 98 98
98 98 106
115 106 106
131 98 115
139 98 106
139 115 98
180 139 57
172 131 65
156 115 90
156 131 82
115 82 139
123 82 131
115 98 131
131 98 123
115 123 123
123 123 131
139 131 139
148 123 131
205 172 24
213 172 16
205 164 32
213 172 32
222 189 24
230 189 16
213 189 32
222 189 32
230 205 24
230 205 32
230 213 32
238 222 32
180 148 57
189 156 49
180 148 74
180 172 90
156 148 123
139 148 139
164 148 115
172 156 106
197 156 49
205 180 49
197 172 90
205 189 82
222 205 49
230 222 49
205 205 74
222 213 65
49 0 230
213 213 213
222 230 230
222 230 230
255 0 246
255 0 255
16 8 197
16 16 189
32 16 164
41 16 164
32 16 180
41 16 189
8 8 205
8 16 205
24 8 213
24 16 205
41 8 213
41 16 213
49 8 213
57 16 213
16 8 230
24 8 230
24 16 230
24 24 230
8 8 246
8 16 246
16 8 246
16 16 246
32 8 230
32 16 230
32 8 238
32 8 246
41 8 230
41 16 230
49 16 230
49 8 238
32 32 156
24 32 172
41 41 156
41 32 164
74 49 180
82 49 172
82 65 164
90 74 164
24 32 189
57 41 189
41 32 213
57 32 213
74 41 189
90 57 189
74 49 197
74 41 205
49 49 49
197 197 197
189 189 189
156 156 156
172 172 172
139 139 139
115 115 115
255 255 255
16 16 16
98 98 98
246 246 246
82 82 82
230 230 230
213 213 213
0 0 0
255 255 255
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

+19
View File
@@ -0,0 +1,19 @@
JASC-PAL
0100
16
0 0 255
0 0 0
82 205 180
255 0 255
255 0 255
255 0 255
32 0 0
49 0 0
65 0 0
90 0 0
123 32 0
156 32 0
180 49 0
205 65 0
222 90 0
230 123 0
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.
+19
View File
@@ -0,0 +1,19 @@
JASC-PAL
0100
16
255 255 139
0 0 0
123 123 123
197 197 197
222 222 222
255 255 255
0 0 0
123 123 123
197 197 197
222 222 222
255 255 255
65 180 164
139 0 0
172 24 0
213 57 0
255 90 0
Binary file not shown.

After

Width:  |  Height:  |  Size: 597 B

Binary file not shown.
+19
View File
@@ -0,0 +1,19 @@
JASC-PAL
0100
16
82 205 180
189 197 205
164 164 172
123 131 131
213 213 222
255 246 74
255 213 32
164 131 24
246 164 24
131 90 16
106 98 90
65 57 41
230 82 16
205 41 0
139 8 8
246 246 246
Binary file not shown.

After

Width:  |  Height:  |  Size: 148 B

+4
View File
@@ -23,6 +23,7 @@ SLOTMACHINEGFXDIR := graphics/slot_machine
TEACHYTVGFXDIR := graphics/teachy_tv TEACHYTVGFXDIR := graphics/teachy_tv
SSANNEGFXDIR := graphics/ss_anne SSANNEGFXDIR := graphics/ss_anne
ITEMPCGFXDIR := graphics/item_pc ITEMPCGFXDIR := graphics/item_pc
TITLESCREENGFXDIR := graphics/title_screen
types := normal fight flying poison ground rock bug ghost steel mystery fire water grass electric psychic ice dragon dark types := normal fight flying poison ground rock bug ghost steel mystery fire water grass electric psychic ice dragon dark
contest_types := cool beauty cute smart tough contest_types := cool beauty cute smart tough
@@ -493,3 +494,6 @@ $(SSANNEGFXDIR)/unk_8479A38.4bpp: %.4bpp: %.png
$(ITEMPCGFXDIR)/unk_8E85090.4bpp: %.4bpp: %.png $(ITEMPCGFXDIR)/unk_8E85090.4bpp: %.4bpp: %.png
$(GFX) $< $@ -num_tiles 82 $(GFX) $< $@ -num_tiles 82
$(TITLESCREENGFXDIR)/unk_8ead608.4bpp: %.4bpp: %.png
$(GFX) $< $@ -num_tiles 135
+6
View File
@@ -0,0 +1,6 @@
#ifndef GUARD_BERRY_FIX_PROGRAM_H
#define GUARD_BERRY_FIX_PROGRAM_H
void mb_berry_fix_serve(void);
#endif //GUARD_BERRY_FIX_PROGRAM_H
+6
View File
@@ -0,0 +1,6 @@
#ifndef GUARD_CLEAR_SAVE_DATA_SCREEN_H
#define GUARD_CLEAR_SAVE_DATA_SCREEN_H
void CB2_SaveClearScreen_Init(void);
#endif //GUARD_CLEAR_SAVE_DATA_SCREEN_H
+13
View File
@@ -961,4 +961,17 @@ extern const u8 gFile_graphics_items_icon_palettes_sapphire_palette[];
extern const u8 gFile_graphics_items_icons_return_to_field_arrow_sheet[]; extern const u8 gFile_graphics_items_icons_return_to_field_arrow_sheet[];
extern const u8 gFile_graphics_items_icon_palettes_return_to_field_arrow_palette[]; extern const u8 gFile_graphics_items_icon_palettes_return_to_field_arrow_palette[];
// title_screen
extern const u16 gGraphics_TitleScreen_PokemonFireRedLogoPals[];
extern const u8 gGraphics_TitleScreen_PokemonFireRedLogoTiles[];
extern const u8 gGraphics_TitleScreen_PokemonFireRedLogoMap[];
extern const u16 gGraphics_TitleScreen_CharizardPals[];
extern const u8 gGraphics_TitleScreen_CharizardTiles[];
extern const u8 gGraphics_TitleScreen_CharizardMap[];
extern u16 gGraphics_TitleScreen_BackgroundPals[]; // If this is const, title_screen.c does not match
extern const u8 gGraphics_TitleScreen_CopyrightPressStartTiles[];
extern const u8 gGraphics_TitleScreen_CopyrightPressStartMap[];
extern const u16 gGraphics_TitleScreen_FirePals[];
extern const u8 gGraphics_TitleScreen_BlankObjTiles[];
#endif //GUARD_GRAPHICS_H #endif //GUARD_GRAPHICS_H
+6
View File
@@ -0,0 +1,6 @@
#ifndef GUARD_INTRO_H
#define GUARD_INTRO_H
void sub_80EC864(void);
#endif //GUARD_INTRO_H
+2
View File
@@ -65,6 +65,8 @@ void ClearPokemonCrySongs(void);
void RestoreSerialTimer3IntrHandlers(void); void RestoreSerialTimer3IntrHandlers(void);
void SetVBlankCounter1Ptr(u32 *ptr); void SetVBlankCounter1Ptr(u32 *ptr);
void DisableVBlankCounter1(void); void DisableVBlankCounter1(void);
void StartTimer1(void);
void SeedRngAndSetTrainerId(void);
extern const char RomHeaderGameCode[4]; extern const char RomHeaderGameCode[4];
extern const char RomHeaderSoftwareVersion; extern const char RomHeaderSoftwareVersion;
+6
View File
@@ -0,0 +1,6 @@
#ifndef GUARD_MAIN_MENU_H
#define GUARD_MAIN_MENU_H
void sub_800C300(void);
#endif //GUARD_MAIN_MENU_H
+4
View File
@@ -71,7 +71,11 @@ void BlendPalettes(u32, u8, u16);
void BlendPalettesUnfaded(u32, u8, u16); void BlendPalettesUnfaded(u32, u8, u16);
void sub_80716F8(const u16 *, u16 *, u16, u8); void sub_80716F8(const u16 *, u16 *, u16, u8);
void TintPalette_GrayScale(u16 *, u16); void TintPalette_GrayScale(u16 *, u16);
void TintPalette_GrayScale2(u16 *, u16);
void TintPalette_SepiaTone(u16 *, u16); void TintPalette_SepiaTone(u16 *, u16);
void sub_80717A8(u32, s8, u8, u8, u16, u8, u8);
bool32 sub_807185C(u8);
void sub_8071898(void);
extern struct PaletteFadeControl gPaletteFade; extern struct PaletteFadeControl gPaletteFade;
+2 -2
View File
@@ -115,7 +115,7 @@ SECTIONS {
src/task.o(.text); src/task.o(.text);
asm/reshow_battle_screen.o(.text); asm/reshow_battle_screen.o(.text);
asm/battle_anim_status_effects.o(.text); asm/battle_anim_status_effects.o(.text);
asm/title_screen.o(.text); src/title_screen.o(.text);
src/reset_save_heap.o(.text); src/reset_save_heap.o(.text);
asm/field_weather.o(.text); asm/field_weather.o(.text);
asm/field_weather_effects.o(.text); asm/field_weather_effects.o(.text);
@@ -405,7 +405,7 @@ SECTIONS {
data/battle_anim.o(.rodata); data/battle_anim.o(.rodata);
data/map_events.o(.rodata); data/map_events.o(.rodata);
data/battle_anim_status_effects.o(.rodata); data/battle_anim_status_effects.o(.rodata);
data/title_screen.o(.rodata); src/title_screen.o(.rodata);
data/field_weather.o(.rodata); data/field_weather.o(.rodata);
data/data_835B488.o(.rodata); data/data_835B488.o(.rodata);
src/item_menu_icons.o(.rodata); src/item_menu_icons.o(.rodata);
+1056
View File
File diff suppressed because it is too large Load Diff
+3 -2
View File
@@ -769,9 +769,10 @@ gUnknown_2037F24: @ 2037F24
gUnknown_2037F28: @ 2037F28 gUnknown_2037F28: @ 2037F28
.space 0x8 .space 0x8
gUnknown_2037F30: @ 2037F30 .align 2
.space 0x4 .include "src/title_screen.o"
.align 2
gUnknown_2037F34: @ 2037F34 gUnknown_2037F34: @ 2037F34
.space 0x200 .space 0x200
+4 -1
View File
@@ -6,7 +6,10 @@ LIBS = -lm
SRCS = main.c extended.c SRCS = main.c extended.c
.PHONY: clean .PHONY: all clean
all: aif2pcm
@:
aif2pcm: $(SRCS) aif2pcm: $(SRCS)
$(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS) $(LIBS) $(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS) $(LIBS)
+4 -1
View File
@@ -2,10 +2,13 @@ CC = gcc
CFLAGS = -Wall -Wextra -Werror -std=c11 -O2 CFLAGS = -Wall -Wextra -Werror -std=c11 -O2
.PHONY: clean .PHONY: all clean
SRCS = bin2c.c SRCS = bin2c.c
all: bin2c
@:
bin2c: $(SRCS) bin2c: $(SRCS)
$(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS) $(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS)
+4 -1
View File
@@ -1,8 +1,11 @@
CC = gcc CC = gcc
.PHONY: clean .PHONY: all clean
SRCS = gbafix.c SRCS = gbafix.c
all: gbafix
@:
gbafix: $(SRCS) gbafix: $(SRCS)
$(CC) $(SRCS) -o $@ $(LDFLAGS) $(CC) $(SRCS) -o $@ $(LDFLAGS)
+1 -1
View File
@@ -8,7 +8,7 @@ SRCS := jsonproc.cpp
HEADERS := jsonproc.h inja.hpp nlohmann/json.hpp HEADERS := jsonproc.h inja.hpp nlohmann/json.hpp
.PHONY: clean .PHONY: all clean
all: jsonproc all: jsonproc
@: @:
+4 -1
View File
@@ -6,7 +6,10 @@ SRCS := json11.cpp mapjson.cpp
HEADERS := mapjson.h HEADERS := mapjson.h
.PHONY: clean .PHONY: all clean
all: mapjson
@:
mapjson: $(SRCS) $(HEADERS) mapjson: $(SRCS) $(HEADERS)
$(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS) $(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)
+4 -1
View File
@@ -8,7 +8,10 @@ SRCS := asm_file.cpp c_file.cpp charmap.cpp preproc.cpp string_parser.cpp \
HEADERS := asm_file.h c_file.h char_util.h charmap.h preproc.h string_parser.h \ HEADERS := asm_file.h c_file.h char_util.h charmap.h preproc.h string_parser.h \
utf8.h utf8.h
.PHONY: clean .PHONY: all clean
all: preproc
@:
preproc: $(SRCS) $(HEADERS) preproc: $(SRCS) $(HEADERS)
$(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS) $(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)
+4 -1
View File
@@ -6,7 +6,10 @@ SRCS := main.cpp sym_file.cpp elf.cpp
HEADERS := ramscrgen.h sym_file.h elf.h char_util.h HEADERS := ramscrgen.h sym_file.h elf.h char_util.h
.PHONY: clean .PHONY: all clean
all: ramscrgen
@:
ramscrgen: $(SRCS) $(HEADERS) ramscrgen: $(SRCS) $(HEADERS)
$(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS) $(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)
+4 -1
View File
@@ -6,7 +6,10 @@ LIBS = -lpng -lz
SRCS = main.c convert_png.c util.c font.c SRCS = main.c convert_png.c util.c font.c
.PHONY: clean .PHONY: all clean
all: rsfont
@:
rsfont: $(SRCS) convert_png.h gfx.h global.h util.h font.h rsfont: $(SRCS) convert_png.h gfx.h global.h util.h font.h
$(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS) $(LIBS) $(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS) $(LIBS)
+4 -1
View File
@@ -6,7 +6,10 @@ SRCS = scaninc.cpp c_file.cpp asm_file.cpp source_file.cpp
HEADERS := scaninc.h asm_file.h c_file.h source_file.h HEADERS := scaninc.h asm_file.h c_file.h source_file.h
.PHONY: clean .PHONY: all clean
all: scaninc
@:
scaninc: $(SRCS) $(HEADERS) scaninc: $(SRCS) $(HEADERS)
$(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS) $(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)