]> git.lyx.org Git - lyx.git/blob - development/cygwin/Makefile.am
Remove moc-files from the set of source files
[lyx.git] / development / cygwin / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 .c.o:
4         $(CC) -I$(top_builddir) $< -O2 -c -o $@
5
6 .rc.o:
7         cp $(top_srcdir)/development/Win32/packaging/icons/lyx_*32x32.ico .
8         windres -I$(top_builddir) --preprocessor "$(CPP) -xc-header -DRC_INVOKED" $< -o $@
9
10 bin_PROGRAMS = lyxeditor lyxwin
11 bin_SCRIPTS = lyxeditor.sh
12 dist_noinst_DATA = lyxprofile
13
14 lyxeditor_SOURCES = lyxeditor.c
15 lyxwin_SOURCES = lyxwin.c lyxwinres.rc
16
17 lyxeditor_LDFLAGS=-mwindows -e _mainCRTStartup
18 lyxwin_LDFLAGS=-mwindows -e _mainCRTStartup
19
20 CLEANFILES += lyxeditor.sh lyx_32x32.ico lyx_doc_32x32.ico
21
22 lyxeditor.sh:
23         cp $(top_srcdir)/development/tools/lyxeditor $@