Audit runProgram calls.
[hgct.git] / Makefile
blob9472c78f9d553822acb13a5305fc7cc353e6c8ff
1 PREFIX=$(HOME)
2 BIN=$(PREFIX)/bin
4 MODULES=mysubprocess.py ctcore.py hg.py git.py
5 MAIN=main.py
6 EXECUTABLE=gct
7 INSTALL=install
9 all: gct
11 devel:
12 ln -sf $(MAIN) $(EXECUTABLE)
13 ln -sf $(MAIN) hgct
15 gct: $(MAIN) $(MODULES) buildMain.py
16 rm -f $(EXECUTABLE)
17 ./buildMain.py $(EXECUTABLE) $(MAIN) $(MODULES)
18 chmod +x $(EXECUTABLE)
20 clean:
21 rm -f *~ *.pyc $(EXECUTABLE) hgct
23 install: gct
24 $(INSTALL) $(EXECUTABLE) $(BIN)
25 cd $(BIN) ; ln -sf $(EXECUTABLE) hgct
27 .PHONY: all devel clean