Don't specify the main entry point because on 64bit Cygwin the leading
underscore is missing and that is the default entry anyway.
lyxeditor_SOURCES = lyxeditor.c
lyxwin_SOURCES = lyxwin.c lyxwinres.rc
lyxeditor_SOURCES = lyxeditor.c
lyxwin_SOURCES = lyxwin.c lyxwinres.rc
-lyxeditor_LDFLAGS=-mwindows -e _mainCRTStartup
-lyxwin_LDFLAGS=-mwindows -e _mainCRTStartup
+lyxeditor_LDFLAGS=-mwindows
+lyxwin_LDFLAGS=-mwindows
CLEANFILES = lyxeditor.sh lyx_32x32.ico lyx_doc_32x32.ico
CLEANFILES = lyxeditor.sh lyx_32x32.ico lyx_doc_32x32.ico