]> Dogcows Code - chaz/yoink/blob - Makefile.am
new timer class
[chaz/yoink] / Makefile.am
1
2 ACLOCAL_AMFLAGS = -I m4
3
4 SUBDIRS = data doc src extra
5
6
7 run: all
8 $(MAKE) -C src run
9
10 debug: all
11 $(MAKE) -C src debug
12
13
14 if WIN32
15
16 INSTALLER_NAME = yoinksetup-$(VERSION).exe
17
18 .PHONY: package
19 package: $(INSTALLER_NAME)
20
21 $(INSTALLER_NAME): all
22 @echo "Creating win32 installer..."
23 @(sh make-win32-installer.sh $(INSTALLER_NAME) 2> installer.log 1>&2 && \
24 rm installer.log && echo "Done.") || \
25 (echo "Installer compilation failed!"; \
26 echo "Check installer.log for details."; exit 1)
27
28 else
29 if LINUX
30
31 .PHONY: package
32 package: rpm
33
34 rpm: dist-bzip2
35 @echo "Creating RPM package..."
36 @($(RPMBUILD) -ba --nodeps extra/yoink.spec 2> rpmbuild.log 1>&2 && \
37 rm rpmbuild.log && echo "Done.") || \
38 (echo "rpmbuild failed!"; \
39 echo "Check rpmbuild.log for details."; exit 1)
40
41 endif
42 endif
43
This page took 0.032225 seconds and 4 git commands to generate.