1 include $(top_srcdir)/config/common.am
4 $(CC) -I$(top_builddir) $< -O2 -c -o $@
7 cp $(top_srcdir)/development/Win32/packaging/icons/lyx_*32x32.ico .
8 windres -I$(top_builddir) --preprocessor "$(CPP) -xc-header -DRC_INVOKED" $< -o $@
10 bin_PROGRAMS = lyxeditor lyxwin
11 bin_SCRIPTS = lyxeditor.sh
12 dist_noinst_DATA = lyxprofile
14 lyxeditor_SOURCES = lyxeditor.c
15 lyxwin_SOURCES = lyxwin.c lyxwinres.rc
17 lyxeditor_LDFLAGS=-mwindows -e _mainCRTStartup
18 lyxwin_LDFLAGS=-mwindows -e _mainCRTStartup
20 CLEANFILES += lyxeditor.sh lyx_32x32.ico lyx_doc_32x32.ico
23 cp $(top_srcdir)/development/tools/lyxeditor $@