The GP.h header shouldn't be used in library itself.
[gfxprim.git] / Makefile
blob5c4d45f7e2da8b9e24634f5901d219147edf75cf
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 cjf gfxprim-`date +%Y-%b-%d-%HH%MM`.tar.bz2 gfxprim