summaryrefslogtreecommitdiffstats
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
commitf12e5ee270b7def53dd42ffe1efa099737f241ab (patch)
tree3dd9fa815d9a01dc990be732d4dacbd298ccb341
parent86a34c5ef94fe8c6b6cb9f51cf404c8e7fa7df3f (diff)
downloadtxr-f12e5ee270b7def53dd42ffe1efa099737f241ab.tar.gz
txr-f12e5ee270b7def53dd42ffe1efa099737f241ab.tar.bz2
txr-f12e5ee270b7def53dd42ffe1efa099737f241ab.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.
-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)