X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=Makefile.am;h=b1ac384fa24020ff0a1c3febe370a562eeb8e031;hp=af437a64d6d80a47ea903fd842a648fc59cbcd9a;hb=6dd7ae54e742339cc49e640d1076a310a0f4eedd;hpb=d4667f48eabde9e163ad98c72bfc6a8d61e375dc diff --git a/Makefile.am b/Makefile.am index af437a6..b1ac384 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1 +1,28 @@ -SUBDIRS = src + +ACLOCAL_AMFLAGS = -I m4 + +SUBDIRS = data doc src extra + + +run: all + $(MAKE) -C src run + +debug: all + $(MAKE) -C src debug + + +if WIN32 +installer: all + @echo "Creating win32 installer..." + @(sh make-win32-installer.sh 2> installer.log 1>&2 && \ + rm installer.log && echo "Done.") || \ + (echo "Installer compilation failed!"; \ + echo "Check installer.log for details."; exit 1) +endif + + +RPMBUILD = rpmbuild + +rpm: dist-bzip2 + $(RPMBUILD) -ba --nodeps extra/yoink.spec +