Mercurial > jwe > qt-gui-with-push-parser
annotate calc.pro @ 12:894be158b32d
define parser as a class and eliminate some global variables
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 23 May 2019 17:57:20 -0400 |
parents | 822a2fe5bb51 |
children | 2ddf3fe6fa33 |
rev | line source |
---|---|
0 | 1 MAKEFILE = calc.mk |
2 | |
4
0e154787183d
new interpreter and qt_interpreter objects
John W. Eaton <jwe@octave.org>
parents:
0
diff
changeset
|
3 SOURCES = \ |
9
822a2fe5bb51
move command window to separate file and other refactoring
John W. Eaton <jwe@octave.org>
parents:
4
diff
changeset
|
4 command-window.cpp \ |
822a2fe5bb51
move command window to separate file and other refactoring
John W. Eaton <jwe@octave.org>
parents:
4
diff
changeset
|
5 gui-main.cpp \ |
4
0e154787183d
new interpreter and qt_interpreter objects
John W. Eaton <jwe@octave.org>
parents:
0
diff
changeset
|
6 interpreter.cpp \ |
0e154787183d
new interpreter and qt_interpreter objects
John W. Eaton <jwe@octave.org>
parents:
0
diff
changeset
|
7 main.cpp \ |
9
822a2fe5bb51
move command window to separate file and other refactoring
John W. Eaton <jwe@octave.org>
parents:
4
diff
changeset
|
8 parser.cpp \ |
822a2fe5bb51
move command window to separate file and other refactoring
John W. Eaton <jwe@octave.org>
parents:
4
diff
changeset
|
9 qt-interpreter.cpp \ |
822a2fe5bb51
move command window to separate file and other refactoring
John W. Eaton <jwe@octave.org>
parents:
4
diff
changeset
|
10 tty-main.cpp |
0 | 11 |
4
0e154787183d
new interpreter and qt_interpreter objects
John W. Eaton <jwe@octave.org>
parents:
0
diff
changeset
|
12 HEADERS = \ |
9
822a2fe5bb51
move command window to separate file and other refactoring
John W. Eaton <jwe@octave.org>
parents:
4
diff
changeset
|
13 command-window.h \ |
822a2fe5bb51
move command window to separate file and other refactoring
John W. Eaton <jwe@octave.org>
parents:
4
diff
changeset
|
14 gui-main.h \ |
4
0e154787183d
new interpreter and qt_interpreter objects
John W. Eaton <jwe@octave.org>
parents:
0
diff
changeset
|
15 interpreter.h \ |
9
822a2fe5bb51
move command window to separate file and other refactoring
John W. Eaton <jwe@octave.org>
parents:
4
diff
changeset
|
16 parser.h \ |
822a2fe5bb51
move command window to separate file and other refactoring
John W. Eaton <jwe@octave.org>
parents:
4
diff
changeset
|
17 qt-interpreter.h \ |
822a2fe5bb51
move command window to separate file and other refactoring
John W. Eaton <jwe@octave.org>
parents:
4
diff
changeset
|
18 tty-main.h |
0 | 19 |
20 LIBS += -lreadline | |
21 | |
22 CONFIG += qt warn_on debug | |
23 | |
24 QT += widgets | |
25 | |
26 QMAKE_EXTRA_TARGETS += distclean | |
27 distclean.depends = extraclean | |
28 | |
29 QMAKE_EXTRA_TARGETS += extraclean | |
30 extraclean.commands = rm -f parse.cpp |