Moved mode setting out of .spec file into Makefile.
diff --git a/miscemu/Makefile.in b/miscemu/Makefile.in
index 359059b..a46be32 100644
--- a/miscemu/Makefile.in
+++ b/miscemu/Makefile.in
@@ -22,7 +22,7 @@
$(CC) -o $@ $(ALL_OBJS) -L$(DLLDIR) $(LDIMPORTS:%=-l%) $(LIBWINE) $(LIBUNICODE) $(LIBS) $(LDFLAGS)
wine.spec.c: wine.spec
- $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ -spec $(SRCDIR)/wine.spec -L$(DLLDIR) $(IMPORTS:%=-l%)
+ $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ -spec $(SRCDIR)/wine.spec -mgui -L$(DLLDIR) $(IMPORTS:%=-l%)
install:: $(MODULE)
$(MKINSTALLDIRS) $(bindir)
diff --git a/miscemu/wine.spec b/miscemu/wine.spec
index 8996141..722554d 100644
--- a/miscemu/wine.spec
+++ b/miscemu/wine.spec
@@ -1,2 +1 @@
-mode guiexe
init wine_initial_task