Added 'const' to GP_ContextW/H
[gfxprim.git] / Makefile
blob2c103a7faf54fff3c6b7dde049a9d4b92d6b19db
1 TOPDIR=.
2 SUBDIRS=libs tests pylib
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 # core library
31 # install -m 775 -d $(HEADER_LOC)GP/
32 # install -m 664 core/*.h $(HEADER_LOC)GP/
33 # install -m 664 core/*.so core/*.so.0 core/*.a $(LIB_LOC)
34 # bitmap loaders
35 # install -m 775 -d $(HEADER_LOC)GP/loaders/
36 # install -m 664 loaders/*.h $(HEADER_LOC)GP/loaders/
37 # install -m 664 loaders/*.so loaders/*.so.0 loaders/*.a $(LIB_LOC)
38 # context filters
39 # install -m 775 -d $(HEADER_LOC)GP/filters/
40 # install -m 664 filters/*.h $(HEADER_LOC)GP/filters/
41 # install -m 664 filters/*.so filters/*.so.0 filters/*.a $(LIB_LOC)
42 # sdl target
43 # install -m 775 -d $(HEADER_LOC)GP/SDL/
44 # install -m 664 targets/sdl/*.h $(HEADER_LOC)GP/SDL/
45 # install -m 664 targets/sdl/*.so targets/sdl/*.so.0 targets/sdl/*.a $(LIB_LOC)
47 tar:
48 cd .. && tar cjf gfxprim-`date +%Y-%b-%d-%HH%MM`.tar.bz2 gfxprim