Commit graph

70 commits

Author SHA1 Message Date
yenatch 286914d0ab align spacing in previous 2015-10-25 03:06:22 -04:00
yenatch 8e96cf2ba3 Reorganize the makefile and remove yellow targets. 2015-10-25 03:04:52 -04:00
yenatch ed48f56e98 Get rid of queues.
For faster builds, use `make -j`.
2015-10-25 02:44:58 -04:00
stag019 6e8f6f66c1 make compare depends on red and blue being built. 2015-01-18 19:43:45 -05:00
stag019 4a8f7d3dd2 Remove symfiles on clean. 2015-01-18 19:41:59 -05:00
stag019 18fe7e25da No longer need to make a mapfile with the newest RGBDS source. This RGBDS doesn't have a release yet. 2015-01-18 19:39:16 -05:00
IIMarckus 5b443a5ade Remove prequeue and preprocessor (now unused). 2014-11-05 01:32:11 -07:00
stag019 d8aa1f0d86 Stop preprocessing files. 2014-11-04 20:25:33 -05:00
yenatch f1667eb6b5 Fix the symfile and mapfile filenames. 2014-09-19 13:09:37 -07:00
yenatch 8dd46620bc Add a comment to the "compare" target. 2014-07-16 15:28:46 -07:00
yenatch 4ad367ba98 Combine poke%.gbc build targets into a generalized one.
Now only one target is needed for all versions.

$$* also works instead of %, but in a pattern rule % is probably clearer.
2014-07-13 20:45:21 -07:00
yenatch dbef0efa6c Add image suffixes to the makefile.
Explicitly define png dependencies (none).
This keeps make from looking for nonexistent dependencies with extensions like ".png.o".
This doesn't make it go any faster, but it at least makes debug easier.
2014-07-11 12:14:39 -07:00
yenatch 9ab6327361 Remove inline comments in an object recipe. 2014-07-11 12:01:05 -07:00
yenatch 8f7135aa69 Reorganize makefile targets for clarity. 2014-07-11 11:50:02 -07:00
yenatch 8396935a07 Comment the makefile. 2014-07-11 11:08:03 -07:00
U-Fish-PC\Daniel 5de4c4b5c5 Fix Makefile: .map and .sym
The Makefile previously made the files '.map' and '.sym'
instead of 'poke[red/blue].map' and 'poke[red/blue].sym'
2014-06-26 17:44:42 -04:00
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