Remove traling whitespaces.
[gfxprim/pasky.git] / Makefile
bloba2b327d81fdd69fd4c16889c521d0621b50468f6
1 TOPDIR=.
3 include $(TOPDIR)/pre.mk
5 TOP_MAKE=1
7 ifneq ($(MAKECMDGOALS),install)
8 SUBDIRS=include libs tests pylib demos build
9 else
10 SUBDIRS=pylib
11 endif
13 libs: include
14 build: libs
15 tests: build
16 pylib: build
17 demos: build
19 distclean:
20 ifdef VERBOSE
21 rm config.h config.gen.mk
22 $(MAKE) clean
23 else
24 @$(MAKE) clean
25 @rm config.h config.gen.mk
26 endif
28 HEADER_LOC=/usr/include/
29 LIB_LOC=/usr/lib/
31 install:
32 ifdef VERBOSE
33 ./install.sh "$(prefix)" $(libdir) $(bindir) $(includedir)
34 else
35 @./install.sh "$(prefix)" $(libdir) $(bindir) $(includedir)
36 endif
38 tar:
39 $(MAKE) clean
40 cd .. && tar cf gfxprim-`date +%Y-%b-%d-%HH%MM`.tar gfxprim
42 include $(TOPDIR)/post.mk