-run_args = -I. $(cflags) -I${srcdir} -I${srcdir}/../src \
- -DVERSION='"${version}"' ${srcdir}/run.c \
- $(ldflags) -Wl,--subsystem,windows -e _mainCRTStartup
-run_deps = ${srcdir}/run.c ${srcdir}/run.h ${srcdir}/run.rc \
- ${srcdir}/../nt/xemacs.ico ${srcdir}/../nt/file.ico \
- ${srcdir}/../nt/lisp.ico
-
-run: ${run_deps}
- windres --include-dir ${srcdir}/../nt -i run.rc -o run_res.o
- $(CC) run_res.o ${run_args} -o $@
- strip $@.exe
-
-runxemacs: run
- cp run.exe $@.exe
-
-rungnuclient: run
- cp run.exe $@.exe
-
-ootags_args = -I. $(cflags) -I${srcdir} -I${srcdir}/../src \
- -DVERSION='"${version}"' ${srcdir}/ootags.c \