Commit graph

104 commits

Author SHA1 Message Date
yenatch
d424eb4438 Use rgbasm -h to use halt without nops. 2014-05-31 00:39:09 -07:00
yenatch
0e12eafe66 Dust off the makefile and prepare to build Yellow. 2014-05-30 01:16:02 -07:00
yenatch
c5813528f8 Image handling in the makefile. 2014-04-05 17:01:56 -04:00
yenatch
d0b7dee9e9 Makefile: Don't group redrle with phony targets 2014-02-14 00:19:16 -05:00
yenatch
3e8d8e930b make compare: Use md5sum -c instead of comparing a base rom 2014-02-14 00:17:02 -05:00
yenatch
b159712346 Makefile: nothing uses the ALL_DEPENDENCIES variable. 2014-02-14 00:08:31 -05:00
yenatch
4af544b9e0 Makefile: fix a syntax error in redrle 2014-02-14 00:07:54 -05:00
yenatch
205c475191 Consolidate rgbfix options between Red and Blue.
Yellow and JP roms will take different options, but this is good for now.
2014-02-14 00:05:01 -05:00
yenatch
b48435bb26 Makefile: condense dependency scanning into one loop 2014-01-27 17:27:37 -05:00
yenatch
c49dd99a98 Split wram.asm from poke{red,blue}.o into wram.o
wram.asm still defines some constants. They're moved into constants/wram_constants.asm.
2014-01-27 17:09:09 -05:00
yenatch
2b961ceaf4 Clean up makefile messages and prerequisite handling 2014-01-27 16:37:16 -05:00
yenatch
1b9ee46af9 Get rid of globals.asm. Use ::s to export labels between objects.
globals.asm was a hack that:
- gave rgbasm an extra 100k lines to read
- increased reliance on the python preprocessor
- made the makefile a mess
- gave object creation an extra step
- wasn't even necessary

This speeds up build time by at least a third.
2014-01-27 16:24:13 -05:00
yenatch
896cc790d1 Makefile: remove duplicates when consolidating objects 2014-01-23 22:33:16 -05:00
yenatch
b4e8ec0901 Make text.asm an object 2014-01-23 15:55:33 -05:00
yenatch
10bb09c4e2 split audio components into audio_red.o and audio_blue.o 2014-01-09 13:52:12 -05:00
yenatch
65245542c7 Makefile: baserom compare is optional 2014-01-04 18:10:53 -05:00
IIMarckus
515357a450 Use safer and more standard POSIX find options. 2013-12-09 23:00:38 -07:00
yenatch
1953e89b86 makefile: find -delete isnt portable 2013-12-09 23:47:39 -05:00
yenatch
b9218d843b Makefile: use += to append to variables 2013-12-08 18:02:29 -05:00
yenatch
516dbd1aae Makefile: $: is not an escaped : 2013-12-08 01:36:59 -05:00
yenatch
120ba96649 handle preprocessing in one python procress; export asm labels
instead of running a process for each file, one process handles all files
rgbasm requires label EXPORT definitions for cross-object compiling. this is handled by globals.asm
2013-12-07 20:01:50 -05:00
yenatch
07a7739f3e rewrite the makefile to be consistent with pokecrystal
still needs globals.asm and a preprocessor queue to compile multiple objects

also, spit out a mapfile and symfile
2013-12-06 01:12:41 -05:00
yenatch
fbc0e5353b rename textpre.py -> preprocessor.py 2013-12-05 01:42:50 -05:00
U-Fish-PC\Daniel
8edfcc4b1e All music and sfx 2013-10-12 14:40:37 -04:00
Bryan Bishop
32265fb71b make pokeblue.gbc compile again 2013-09-04 21:50:58 -05:00
Bryan Bishop
e84a5b2062 make extras/ a submodule
Use pokemontools v1.3.0 and use the same preprocessor as the pokecrystal
project.
2013-09-01 02:27:44 -05:00
Bryan Bishop
4d6b824969 compile with preprocessor outputs 2013-08-31 18:50:38 -05:00
Mr Wint
66aaa9a0cb * added verification (equality test) for blue version build
* changed analyze_incbins to recognize generated label addresses
* fixed bank 1D assembly to make blue version build correctly
2013-03-12 03:46:32 +01:00
IIMarckus
0ed46e7a72 Better cross‐make compatibility. 2012-12-02 19:34:19 -07:00
stag019
c1e784107d Extra space in Makefile removed.
hg-commit-id: e64c1edc7b70
2012-03-15 19:26:36 -04:00
IIMarckus
7abca00d30 Revert python2 change, no systems actually have "python2" except Arch.
hg-commit-id: f1e6e982c0bb
2012-03-14 20:39:14 -06:00
Sanky
3cddafc519 Specified python2 executable. (Some systems default to Python 3.)
hg-commit-id: a28f903ec455
2012-03-06 23:52:51 +01:00
IIMarckus
f06e2f937c Remove textpre.awk and link textpre.py to the build.
hg-commit-id: d021377297bf
2012-03-04 23:03:36 -07:00
Bryan Bishop
4f7a07efa9 rename common.asm -> main.asm
hg-commit-id: adec8319c54b
2012-01-25 22:33:42 -06:00
Bryan Bishop
815b823b1a Merge KuroiIeWa5Da/pokered with music headers.
hg-commit-id: b624e31d6035
2012-01-19 06:51:48 -06:00
KuroiIeWa5Da
d9e1b33fcb Added Sound Map Headers for bank 2 and tile collision files plus some other minor fixes
hg-commit-id: 427ef8cd033b
2012-01-19 06:12:36 -06:00
KuroiIeWa5Da
5ed66553b6 Inserted several text and text pointers
hg-commit-id: a546098b74ec
2012-01-18 11:57:43 -06:00
KuroiIeWa5Da
f1c6d94d39 Finalized Gary map
hg-commit-id: e2ffb49499cc
2012-01-18 00:17:00 -06:00
IIMarckus
65eb5944b3 Remove -b, which is nonstandard and breaks BSD awk.
hg-commit-id: 57d66cf56050
2012-01-16 21:29:49 -07:00
KuroiIeWa5Da
577869304c Cleaned up and finalized route 2
hg-commit-id: e96ff3835e91
2012-01-16 18:28:00 -06:00
Bryan Bishop
0d6370d054 set LC_CTYPE=C in Makefile for gawk
hg-commit-id: 9925b373f9ad
2012-01-15 11:26:12 -06:00
stag019
dc667fb75a Another attempt at splitting Red/Blue versions.
hg-commit-id: bd7cb987f964
2012-01-14 15:36:00 -05:00
IIMarckus
ba5617f9f8 Make an implied rule for .gbc.
Fixes a build issue with GNU Make. Pointed out by kanzure on IRC.

hg-commit-id: d07c0e5f8385
2011-12-29 17:09:44 -07:00
IIMarckus
18bf34ec0b Split large chunks of text into separate files, and improve Makefile.
hg-commit-id: 59e6e303019d
2011-12-26 18:40:25 -07:00
IIMarckus
450949763c Add Japanese text entry and Pokédex entries.
hg-commit-id: 8de61c31d46c
2011-12-21 00:31:01 -07:00
IIMarckus
c21c0d45b3 Add a text preprocessor, so that we can enter strings in db commands.
Depending on how well this works, it may be removed later. Hopefully not.

hg-commit-id: d244e025471f
2011-12-16 23:54:36 -07:00
IIMarckus
2c025ec8f9 Remove redrle on clean
hg-commit-id: e2bee0026767
2011-03-16 17:43:07 -06:00
IIMarckus
edf82cd3c0 Add a makefile rule for redrle
hg-commit-id: 0555d242eac5
2011-02-19 00:10:08 -07:00
IIMarckus
a252a149d9 Sync with latest RGBDS
hg-commit-id: 6812720c7a31
2010-12-22 14:45:34 -07:00
IIMarckus
ae9b30121c pokered.gbc should depend on constants.asm
hg-commit-id: 640e32269727
2010-12-20 16:42:49 -07:00
IIMarckus
a314f06836 improve makefile dependencies a bit
hg-commit-id: d0632da04a17
2010-03-19 00:18:39 -06:00
IIMarckus
b38670f2a4 Fix flags to match current version of rgbds-linux
hg-commit-id: 67e8deb819ef
2010-03-18 20:56:19 -06:00
IIMarckus
63a594a3c5 outsource the ROM header to rgbfix
hg-commit-id: 0a810b8fee68
2010-01-04 20:17:37 -07:00
IIMarckus
df2b3b739c Initial commit
hg-commit-id: 8bac7aa76c64
2010-01-04 17:58:43 -07:00