The broken commits end
[sfinx.git] / Makefile
blobd2ce0dda74d35ade6f2e847822e7cdf24cfe0aa7
2 # Sfinx makefile
5 DIRS = lib sfinx faraon
7 .PHONY: lib sfinx faraon
9 all: lib sfinx faraon
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 lib:
20 (cd lib; $(MAKE))
22 sfinx:
23 (cd sfinx; $(MAKE))
25 faraon:
26 (cd faraon; $(MAKE))
28 clean:
29 @echo Cleaning garbage.
30 @for dir in $(DIRS); do\
31 (cd $$dir;$(MAKE) clean);\
32 done
33 @rm -rf *out DEAD* errorlog.make
35 push:
36 @git-push ssh://git@sfinx.od.ua/home/git/Harbour/sfinx
38 pull:
39 @git-pull ssh://git@sfinx.od.ua/home/git/Harbour/sfinx
41 initdb:
42 @rm -f /usr/local/sfinx/sfinx.fdb
43 @isql -q -i ./scripts/db.sql
44 @echo Sfinx database initialized
46 commit:
47 @git-diff
48 @git-commit -a
49 dcp: commit push
51 todo:
52 @setterm -foreground red
53 @cat TODO
54 @echo
55 bugs:
56 @setterm -foreground red
57 @cat doc/BUGS
58 @echo
60 ###