fix linux executable name
This commit is contained in:
7
Makefile
7
Makefile
@@ -9,7 +9,12 @@ EMU_OBJ_FILES := $(EMU_SRC_FILES:src/emulated/%.c=build/%.riscv.o)
|
||||
EMU_OBJ := build/emulated.riscv.elf
|
||||
|
||||
HOST_SRC := src/main.c src/elf.c
|
||||
HOST_EXE := build/main.exe
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
HOST_EXE := build/main.exe
|
||||
else
|
||||
HOST_EXE := build/main
|
||||
endif
|
||||
|
||||
# Disassembly
|
||||
RISCV_OBJDUMP ?= $(patsubst %-gcc,%-objdump,$(RISCV_CC))
|
||||
|
||||
Reference in New Issue
Block a user