diff --git a/Makefile b/Makefile index eb6842db6..04aa837d3 100644 --- a/Makefile +++ b/Makefile @@ -977,8 +977,8 @@ $(EXE): $(O_FILES) $(MIO0_FILES:.mio0=.o) $(ULTRA_O_FILES) $(GODDARD_O_FILES) $(LD) -L $(BUILD_DIR) -o $@ $(O_FILES) $(ULTRA_O_FILES) $(GODDARD_O_FILES) $(LDFLAGS) endif - # Copying the dynamically linked DLL files (Windows only) - ifeq ($(TARGET_WINDOWS),1) +# Copying the dynamically linked DLL files (Windows only) +ifeq ($(TARGET_WINDOWS),1) $(shell a=$(PATH); b=$${a%%:*}; cp "$${b}/SDL2.dll" "$(BUILD_DIR)/SDL2.dll") ifeq ($(TARGET_32BIT),1) @@ -986,7 +986,6 @@ endif $(shell a=$(PATH); b=$${a%%:*}; cp "$${b}/libwinpthread-1.dll" "$(BUILD_DIR)/libwinpthread-1.dll") endif endif - endif endif # Resource compilation