diff --git a/moo.kdevelop b/moo.kdevelop index ec00479d..b72075f5 100644 --- a/moo.kdevelop +++ b/moo.kdevelop @@ -33,7 +33,7 @@ moo/libmoo.la - debug + mingw ./medit @@ -268,16 +268,16 @@ - + A new empty GAP source file - + A new empty C++ file. - + A new empty header file for C/C++. - + A new empty C file. diff --git a/tests/Makefile.incl b/tests/Makefile.incl index 374097b9..ac527219 100644 --- a/tests/Makefile.incl +++ b/tests/Makefile.incl @@ -5,7 +5,8 @@ bin_PROGRAMS = EXTRA_DIST += \ tests/pyapp.py.in \ tests/medit-ui.xml \ - tests/medit-app.opag + tests/medit-app.opag\ + tests/medit.win BUILT_SOURCES += medit-ui.h tests/medit-app.c medit-ui.h: tests/medit-ui.xml @@ -13,7 +14,14 @@ medit-ui.h: tests/medit-ui.xml tests/medit-app.c: tests/medit-app.opag medit-ui.h opag -f _medit_parse_options -O _medit_opt_ -A _medit_arg_ $(srcdir)/tests/medit-app.opag $(srcdir)/tests/medit-app.c -all-am: tests/pyapp.py +if MOO_OS_MINGW +MEDIT_WIN = medit +medit: tests/medit.win + cp $(srcdir)/tests/medit.win medit + chmod +x medit +endif + +all-am: tests/pyapp.py $(MEDIT_WIN) if MOO_BUILD_APP medit = medit diff --git a/tests/medit.win b/tests/medit.win new file mode 100644 index 00000000..c753f3d8 --- /dev/null +++ b/tests/medit.win @@ -0,0 +1,2 @@ +#!/bin/sh +exec wine medit.exe $*