mirror of
https://github.com/n64decomp/mk64.git
synced 2025-02-20 14:40:58 +00:00
Fixes the error "iconv: invalid option -- o" by redirecting stdout to the desired file. (#538)
* Fixes the error "iconv: invalid option -- o" by redirecting stdout to the desired file. Fixes build errors on macos
This commit is contained in:
parent
34aaf7808e
commit
396b8e1d81
4
Makefile
4
Makefile
@ -7,6 +7,7 @@ default: all
|
||||
|
||||
# Preprocessor definitions
|
||||
DEFINES :=
|
||||
UNAME_S := $(shell uname -s)
|
||||
|
||||
#==============================================================================#
|
||||
# Build Options #
|
||||
@ -561,10 +562,9 @@ COURSE_DATA_TARGETS := $(foreach dir,$(COURSE_DIRS),$(BUILD_DIR)/$(dir)/course_d
|
||||
#==============================================================================#
|
||||
# Source Code Generation #
|
||||
#==============================================================================#
|
||||
|
||||
$(BUILD_DIR)/%.jp.c: %.c
|
||||
$(call print,Encoding:,$<,$@)
|
||||
iconv -t EUC-JP -f UTF-8 $< -o $@
|
||||
iconv -t EUC-JP -f UTF-8 $< > $@
|
||||
|
||||
$(BUILD_DIR)/%.o: %.c
|
||||
$(call print,Compiling:,$<,$@)
|
||||
|
Loading…
x
Reference in New Issue
Block a user