Added Makefile to fltkdemo
This commit is contained in:
parent
d5ce198aea
commit
f784e0fff2
@ -34,7 +34,6 @@ SUB TT::BuildTable(QAbstractButton *button) DO
|
|||||||
DIM AS INT I;
|
DIM AS INT I;
|
||||||
DIM AS QString buf;
|
DIM AS QString buf;
|
||||||
|
|
||||||
|
|
||||||
ui.listWidget->clear();
|
ui.listWidget->clear();
|
||||||
FOR (I = 1 TO I<11 STEP I++) DO
|
FOR (I = 1 TO I<11 STEP I++) DO
|
||||||
buf = QString("%1 %2 %3 %4 %5").arg(button->text()).arg(" X ").arg(QString::number(I)).arg(" = ").arg(QString::number(I*button->text().toInt()));
|
buf = QString("%1 %2 %3 %4 %5").arg(button->text()).arg(" X ").arg(QString::number(I)).arg(" = ").arg(QString::number(I*button->text().toInt()));
|
||||||
@ -46,7 +45,7 @@ ENDSUB
|
|||||||
MAIN
|
MAIN
|
||||||
DIM AS QApplication app(argc, argv);
|
DIM AS QApplication app(argc, argv);
|
||||||
|
|
||||||
DIM AS TT *TinyTimes = new TT;
|
DIM AS TT PTR TinyTimes = new TT;
|
||||||
TinyTimes->Center();
|
TinyTimes->Center();
|
||||||
TinyTimes->show();
|
TinyTimes->show();
|
||||||
RETURN app.exec();
|
RETURN app.exec();
|
||||||
|
13
fltk/Makefile
Normal file
13
fltk/Makefile
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
all: clean fltkdemo
|
||||||
|
|
||||||
|
CMD = fltk-config
|
||||||
|
FLAGS = --libs --cxxflags --use-images --use-gl --ldstaticflags --compile
|
||||||
|
|
||||||
|
fltkdemo:
|
||||||
|
$(CMD) $(FLAGS) $@.cpp
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@rm fltkdemo
|
||||||
|
@rm -rf fltkdemo.app
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user