Switch to fltk-1.x-utf8
[forms.git] / Makefile
blobb725411d646d585c85edf7c8504d73a86d747844
2 # Forms makefile
5 DOXGEN = doxygen
6 DIRS = src test
7 INSTALL_ROOT = /usr/local
9 all: lib demo doc
11 dist: clean dep all
13 depend dep:
14 @echo Making depend.
15 @for dir in $(DIRS); do\
16 (cd $$dir;$(MAKE) dep);\
17 done
19 docs:
20 (cd doc; rm -rf html latex; $(DOXGEN) forms.cfg;)
22 pdf: docs
23 (cd doc/latex; make refman.pdf)
25 demo:
26 (cd test; $(MAKE))
28 lib:
29 (cd src; $(MAKE))
31 install: all
32 rm -rf $(INSTALL_ROOT)/include/F
33 cp -a F $(INSTALL_ROOT)/include
34 cp -a libs/* $(INSTALL_ROOT)/lib
35 ldconfig -n $(INSTALL_ROOT)/lib
37 clean:
38 @echo Cleaning garbage.
39 @for dir in $(DIRS); do\
40 (cd $$dir;$(MAKE) clean);\
41 done
42 @rm -rf config.cache config.log
43 @rm -rf doc/html doc/man doc/latex *out DEAD*
45 push:
46 @git-push ssh://git@sfinx.od.ua/home/git/Harbour/forms
48 pull:
49 @git-pull ssh://git@sfinx.od.ua/home/git/Harbour/forms
51 commit:
52 @git-diff
53 @git-commit -a
54 dcp: commit push
56 todo:
57 @setterm -foreground red
58 @cat doc/TODO
59 @echo
60 bugs:
61 @setterm -foreground red
62 @cat doc/BUGS
63 @echo
65 ###