More cleanup of the Makefile to make things clearer for generated files

This commit is contained in:
Jeremy Rand 2019-07-20 13:29:19 -05:00
parent 8dbbb22624
commit ff3fa53d26
3 changed files with 20 additions and 3 deletions

View File

@ -52,7 +52,8 @@ PGM=___PACKAGENAME___
# will only produce 8-bit code. # will only produce 8-bit code.
# Add any other directories where you are putting C or assembly source # Add any other directories where you are putting C or assembly source
# files to this list: # files to this list. Note that if you are generating source files into
# $(GENDIR), you should add $(GENDIR) to SRCDIRS here:
SRCDIRS+= SRCDIRS+=
# If you have a non-standard cc65 install, you may need to change # If you have a non-standard cc65 install, you may need to change

View File

@ -24,7 +24,8 @@ MACHINE = apple2-basic
# MACHINE = apple2-dos33-basic # MACHINE = apple2-dos33-basic
# Add any other directories where you are putting other BASIC files # Add any other directories where you are putting other BASIC files
# to this list: # to this list. Note that if you are generating source files into
# $(GENDIR), you should add $(GENDIR) to SRCDIRS here:
SRCDIRS+= SRCDIRS+=
# If you want to add arguments to the BASIC tokenizer commandline, # If you want to add arguments to the BASIC tokenizer commandline,
@ -70,6 +71,13 @@ COPYDIRS=
# commands are called here, if any. You can generate .c, .s or .h # commands are called here, if any. You can generate .c, .s or .h
# files for example. You can generate data files. Whatever you # files for example. You can generate data files. Whatever you
# might need. # might need.
#
# You should generate these files in the $(GENDIR) directory or
# within a subdirectory under $(GENDIR) which you create yourself.
#
# All of your commands associated with a rule _must_ start with a tab
# character. Xcode makes it a bit tough to type a tab character by
# default. Press option-tab within Xcode to insert a tab character.
gen: gen:
# For any files you generated in the gen target above, you should # For any files you generated in the gen target above, you should

View File

@ -41,7 +41,8 @@ MACHINE = apple2-merlin
# files to this list. Note that you must manually add all source files # files to this list. Note that you must manually add all source files
# to the linkscript.s file. All this does is help the build system # to the linkscript.s file. All this does is help the build system
# see what files it should consider important to deciding whether to do # see what files it should consider important to deciding whether to do
# a re-build. # a re-build. Note that if you are generating source files into
# $(GENDIR), you should add $(GENDIR) to SRCDIRS here:
SRCDIRS+= SRCDIRS+=
# If you want to add arguments to the BASIC tokenizer commandline, # If you want to add arguments to the BASIC tokenizer commandline,
@ -87,6 +88,13 @@ COPYDIRS=
# commands are called here, if any. You can generate .c, .s or .h # commands are called here, if any. You can generate .c, .s or .h
# files for example. You can generate data files. Whatever you # files for example. You can generate data files. Whatever you
# might need. # might need.
#
# You should generate these files in the $(GENDIR) directory or
# within a subdirectory under $(GENDIR) which you create yourself.
#
# All of your commands associated with a rule _must_ start with a tab
# character. Xcode makes it a bit tough to type a tab character by
# default. Press option-tab within Xcode to insert a tab character.
gen: gen:
# For any files you generated in the gen target above, you should # For any files you generated in the gen target above, you should