git://stoneship.org.uk
/
bootloader
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the windows compile mode to be a console app
[bootloader]
/
cli
/
Makefile
diff --git
a/cli/Makefile
b/cli/Makefile
index
3bf6538
..
415fa07
100644
(file)
--- a/
cli/Makefile
+++ b/
cli/Makefile
@@
-3,12
+3,12
@@
LDFLAGS= $(CFLAGS)
SRC=log.c boot.c protocol.c devices.c memory.c
-WINDOWS=
0
+WINDOWS=
1
ifeq ($(WINDOWS),1)
PREFIX=i686-w64-mingw32-
SRC += serial-win.c
-CFLAGS += -static -mwindows
+CFLAGS += -static
#
-mwindows
else
CFLAGS += -fPIC -static #-m32
SRC += serial.c