Skip to content

Extract variable for VASM executable#1

Open
ewalk153 wants to merge 1 commit into
gfoot:mainfrom
ewalk153:vasm-variable
Open

Extract variable for VASM executable#1
ewalk153 wants to merge 1 commit into
gfoot:mainfrom
ewalk153:vasm-variable

Conversation

@ewalk153
Copy link
Copy Markdown

@ewalk153 ewalk153 commented Jun 9, 2021

I had renamed vasm on my machine. This allow an environment variable to override the default executable name.

Tests:

  • make with no env variable set runs vasm.vasm6502-oldstyle
  • make VASM=vasm.foo should return a build error
❯ make VASM=vasm.foo
vasm.foo -Fbin -dotdir src/snake.s -o bin/snake.out
make: vasm.foo: No such file or directory
make: *** [bin/snake.out] Error 1

I had renamed vasm on my machine. This allow an environment variable to
override the default executable name.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant