summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-02-26 08:19:26 -0800
committerKaz Kylheku <kaz@kylheku.com>2019-02-26 08:19:26 -0800
commita712268af12b40874fe3fe142e14b329e42c20e2 (patch)
tree3dd9fa815d9a01dc990be732d4dacbd298ccb341 /Makefile
parentd10f45d341838491de5771d0e903820eba6fdbdd (diff)
downloadtxr-a712268af12b40874fe3fe142e14b329e42c20e2.tar.gz
txr-a712268af12b40874fe3fe142e14b329e42c20e2.tar.bz2
txr-a712268af12b40874fe3fe142e14b329e42c20e2.zip
build: remove nonexistent config option.
* Makefile (dbg/%-win.o, opt/%-win.o): Don't pass CONFIG_WIN_MAIN=1 preprocessor symbol; it's not referenced anywhere, and never has been.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7a020029..762387a8 100644
--- a/Makefile
+++ b/Makefile
@@ -181,10 +181,10 @@ opt/%.o: %.S
$(call COMPILE_C_WITH_DEPS,)
dbg/%-win.o: $(top_srcdir)%.c
- $(call COMPILE_C_WITH_DEPS,-DCONFIG_WIN_MAIN=1)
+ $(call COMPILE_C_WITH_DEPS,)
opt/%-win.o: $(top_srcdir)%.c
- $(call COMPILE_C_WITH_DEPS,-DCONFIG_WIN_MAIN=1 $(OPT_FLAGS))
+ $(call COMPILE_C_WITH_DEPS, $(OPT_FLAGS))
win/%.res: $(top_srcdir)win/%.rc $(top_srcdir)win/%.ico
$(call WINDRES)