Skip to content

Commit

Permalink
fix method to build asm
Browse files Browse the repository at this point in the history
  • Loading branch information
koron committed Apr 18, 2024
1 parent c167cb3 commit 64d5941
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ zexall:
$(MAKE) -C cmd/zexdoc run-all

# Generate mnemonic for Z80 emulator, which assembled by Go
z80.asm:
go tool compile -o z80.o -S `go list -f '{{join .GoFiles " "}}'` > $@
rm -f z80.o
z80.asm: *.go
go build -gcflags "-S" 2> $@

# based on: github.com/koron-go/_skeleton/Makefile

0 comments on commit 64d5941

Please sign in to comment.