filters: Fix some overly long lines.
[gfxprim.git] / Makefile
blobacc854337919bf9213945902070da5f7408ecc36
1 TOPDIR=.
2 SUBDIRS=libs tests pylib demos
3 include include.mk
6 # Make sure tests are build after library and
7 # rebuild library before entering test just
8 # to be extra safe.
10 .PHONY: build
12 tests: build libs
14 build:
15 @$(MAKE) --no-print-directory -C build clean
16 @$(MAKE) --no-print-directory -C build
18 clean:
19 ifdef VERBOSE
20 $(MAKE) -C build clean
21 else
22 @echo "/build"
23 @$(MAKE) --no-print-directory -C build clean
24 endif
26 HEADER_LOC=/usr/include/
27 LIB_LOC=/usr/lib/
29 install:
30 ifdef VERBOSE
31 ./install.sh ""
32 else
33 @./install.sh ""
34 endif
36 tar:
37 $(MAKE) clean
38 cd .. && tar cf gfxprim-`date +%Y-%b-%d-%HH%MM`.tar gfxprim