shithub: cstory

Download patch

ref: aad7e41ded4e2c08741d04a9f7a83ec9928e0f1a
parent: 709065d716dba7ac4440e608d46b322ec86b56ed
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sat Oct 12 21:46:27 EDT 2019

Remove leftover DoConfig stuff from the Makefile

--- a/Makefile
+++ b/Makefile
@@ -9,11 +9,9 @@
 	CXXFLAGS = -O3
 	LDFLAGS = -s
 	FILENAME_DEF = CSE2.exe
-	DOCONFIG_FILENAME_DEF = DoConfig.exe
 else
 	CXXFLAGS = -Og -ggdb3
 	FILENAME_DEF = CSE2_debug.exe
-	DOCONFIG_FILENAME_DEF = DoConfig_debug.exe
 endif
 
 ifeq ($(JAPANESE), 1)
@@ -25,7 +23,6 @@
 endif
 
 FILENAME ?= $(FILENAME_DEF)
-DOCONFIG_FILENAME ?= $(DOCONFIG_FILENAME_DEF)
 
 ifeq ($(FIX_BUGS), 1)
 	CXXFLAGS += -DFIX_BUGS
@@ -147,15 +144,6 @@
 obj/$(FILENAME)/windows_resources.o: assets/resources/CSE2.rc
 	@mkdir -p $(@D)
 	@$(WINDRES) $< $@
-
-$(BUILD_DIRECTORY)/$(DOCONFIG_FILENAME): DoConfig/DoConfig.cpp
-	@mkdir -p $(@D)
-	@echo Linking $@
-ifeq ($(STATIC), 1)
-	@$(CXX) -O3 -s -std=c++98 -static $^ -o $@ `fltk-config --cxxflags --libs --ldstaticflags`
-else
-	@$(CXX) -O3 -s -std=c++98 $^ -o $@ `fltk-config --cxxflags --libs --ldflags`
-endif
 
 # TODO
 clean: