diff --git a/Makefile b/Makefile index f1bc1d4d2..98b7045af 100644 --- a/Makefile +++ b/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:,$<,$@)