gfx: working on Anti Aliased rectangles.
[gfxprim.git] / Makefile
blob142c98cb42052920f44f4f807388d315a89ce544
1 TOPDIR=.
2 SUBDIRS=include 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 libs: include
14 tests: libs
15 demos: libs
17 build:
18 @$(MAKE) --no-print-directory -C build clean
19 @$(MAKE) --no-print-directory -C build
21 clean:
22 ifdef VERBOSE
23 $(MAKE) -C build clean
24 else
25 @echo "/build"
26 @$(MAKE) --no-print-directory -C build clean
27 endif
29 distclean:
30 ifdef VERBOSE
31 rm config.h config.gen.mk
32 $(MAKE) clean
33 else
34 @$(MAKE) clean
35 @rm config.h config.gen.mk
36 endif
38 HEADER_LOC=/usr/include/
39 LIB_LOC=/usr/lib/
41 install:
42 ifdef VERBOSE
43 ./install.sh ""
44 else
45 @./install.sh ""
46 endif
48 tar:
49 $(MAKE) clean
50 cd .. && tar cf gfxprim-`date +%Y-%b-%d-%HH%MM`.tar gfxprim