filters: GaussianNoise: Set errno.
[gfxprim/pasky.git] / Makefile
blob33cc33c622856c5aced11b978f597c52bddc8554
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 GENFILES=config.h config.gen.mk gfxprim-config
21 distclean:
22 ifdef VERBOSE
23 rm $(GENFILES)
24 else
25 @echo "RM $(GENFILES)"
26 @rm $(GENFILES)
27 endif
29 HEADER_LOC=/usr/include/
30 LIB_LOC=/usr/lib/
32 install:
33 ifdef VERBOSE
34 ./install.sh "$(prefix)" $(libdir) $(bindir) $(includedir)
35 else
36 @./install.sh "$(prefix)" $(libdir) $(bindir) $(includedir)
37 endif
39 tar:
40 $(MAKE) clean
41 cd .. && tar cf gfxprim-`date +%Y-%b-%d-%HH%MM`.tar gfxprim
43 include $(TOPDIR)/post.mk