]> git.lyx.org Git - lyx.git/blob - development/cygwin/Makefile.am
Autotools: optimize with -Og when debugging
[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
13 lyxdistdir = $(pkgdatadir)
14 dist_lyxdist_DATA = lyxprofile lyxrc.dist
15
16 lyxeditor_SOURCES = lyxeditor.c
17 lyxwin_SOURCES = lyxwin.c lyxwinres.rc
18
19 lyxeditor_LDFLAGS=-mwindows
20 lyxwin_LDFLAGS=-mwindows
21
22 CLEANFILES = lyxeditor.sh lyx_32x32.ico lyx_doc_32x32.ico
23
24 lyxeditor.sh:
25         cp $(top_srcdir)/development/tools/lyxeditor $@