Fix the windows compile mode to be a console app
[bootloader] / cli / Makefile
index 3bf6538..415fa07 100644 (file)
@@ -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