summaryrefslogtreecommitdiff
path: root/libs/JSystem/J2DGraph
diff options
context:
space:
mode:
Diffstat (limited to 'libs/JSystem/J2DGraph')
-rw-r--r--libs/JSystem/J2DGraph/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/JSystem/J2DGraph/Makefile b/libs/JSystem/J2DGraph/Makefile
index 2cf91e51b3..d3fc92ef46 100644
--- a/libs/JSystem/J2DGraph/Makefile
+++ b/libs/JSystem/J2DGraph/Makefile
@@ -58,6 +58,6 @@ $(BUILD_DIR)/libJ2DGraph.a: $(LIBJ2DGRAPH_A_O_FILES)
$(BUILD_DIR)/libs/JSystem/J2DGraph/%.o: libs/JSystem/J2DGraph/%.cpp
@mkdir -p $(@D)
@echo building... $<
- @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp
- @$(CC) $(CFLAGS) $(LIBJ2DGRAPH_A_CFLAGS) -c -o $@ $@.iconv.cpp
+ @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
+ @$(CC) $(CFLAGS) $(LIBJ2DGRAPH_A_CFLAGS) -c -o $@ $(basename $@).cpp