X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=development%2Fcygwin%2FMakefile.am;h=78358c5e9d8f1d4e22cc6af0498c071502460df6;hb=cb3e79f9a00edada0bda9ec408e23bccc6e309c2;hp=5e9e22e933d5c787350fbda4e11256134a8e7856;hpb=68d936250e909b1746ba03968cc5f09b21b5ec04;p=lyx.git diff --git a/development/cygwin/Makefile.am b/development/cygwin/Makefile.am index 5e9e22e933..78358c5e9d 100644 --- a/development/cygwin/Makefile.am +++ b/development/cygwin/Makefile.am @@ -1,7 +1,7 @@ include $(top_srcdir)/config/common.am .c.o: - $(CC) -I$(top_builddir) $< -O2 -c -o $@ -mwindows -e _mainCRTStartup + $(CC) -I$(top_builddir) $< -O2 -c -o $@ .rc.o: cp $(top_srcdir)/development/Win32/packaging/icons/lyx_*32x32.ico . @@ -9,12 +9,17 @@ include $(top_srcdir)/config/common.am bin_PROGRAMS = lyxeditor lyxwin bin_SCRIPTS = lyxeditor.sh -dist_noinst_DATA = lyxprofile + +lyxdistdir = $(pkgdatadir) +dist_lyxdist_DATA = lyxprofile lyxrc.dist lyxeditor_SOURCES = lyxeditor.c lyxwin_SOURCES = lyxwin.c lyxwinres.rc -CLEANFILES += lyxeditor.sh lyx_32x32.ico lyx_doc_32x32.ico +lyxeditor_LDFLAGS=-mwindows +lyxwin_LDFLAGS=-mwindows + +CLEANFILES = lyxeditor.sh lyx_32x32.ico lyx_doc_32x32.ico lyxeditor.sh: cp $(top_srcdir)/development/tools/lyxeditor $@