Epple-II/installer/Makefile.am
2012-04-20 20:04:34 -04:00

18 lines
342 B
Makefile

EXTRA_DIST = epple2.wxs
if HAVE_WINDOWS
SUFFIXES = .wxs .wixobj .msi
all: epple2.msi
epple2.msi: epple2.wixobj ../src/epple2.exe
strip -o epple2.exe ../src/epple2.exe
light $< -out $@
cp $@ $(basename $@)-$(VERSION)$(suffix $@)
epple2.wixobj: epple2.wxs
candle $< -out $@ -dSDLDIR=/bin -dMINGWMDIR=/mingw/bin
endif