source: trunk/Makefile.am @ 938

Last change on this file since 938 was 938, checked in by sam, 9 years ago

build: add LolUnit to the build rules.

File size: 567 bytes
Line 
1
2SUBDIRS = src test deushax monsterz tools gfx
3DIST_SUBDIRS = $(SUBDIRS)
4
5EXTRA_DIST = bootstrap build-linux build-mingw
6AUTOMAKE_OPTIONS = dist-bzip2
7
8bench:
9        cd test && $(MAKE) $(AM_MAKEFLAGS) $@
10.PHONY: bench
11
12dist: lolunit-$(LOLUNIT_VERSION).tar.gz
13
14lolunit-$(LOLUNIT_VERSION).tar.gz:
15        rm -rf lolunit-$(LOLUNIT_VERSION)
16        mkdir lolunit-$(LOLUNIT_VERSION)
17        mkdir lolunit-$(LOLUNIT_VERSION)/lol
18        cp $(top_srcdir)/src/lol/unit.h lolunit-$(LOLUNIT_VERSION)/lol
19        tar cvzf lolunit-$(LOLUNIT_VERSION).tar.gz lolunit-$(LOLUNIT_VERSION)
20        rm -rf lolunit-$(LOLUNIT_VERSION)
21
Note: See TracBrowser for help on using the repository browser.