19 printf(
"===>The macro games will try to build the Aclock library\n");
23 gSystem->
Exec(
"(cd %ROOTSYS%\\test && nmake -f Makefile.win32 Aclock.dll)");
29 printf(
"===>The macro games will try to build the Hello library\n");
33 gSystem->
Exec(
"(cd %ROOTSYS%\\test && nmake -f Makefile.win32 Hello.dll)");
40 printf(
"===>The macro games will try to build the Tetris library\n");
43 gSystem->
Exec(
"(cd %ROOTSYS%\\test && nmake -f Makefile.win32 Tetris.dll)");
47 if (st1 || st2 || st3) {
48 printf(
"ERROR: one of the shared libs in $ROOTSYS/test didn't load properly\n");
51 gROOT->ProcessLine(
"#define __RUN_GAMES__ 1");
52 gROOT->ProcessLine(
"#include \"games.C\"");
53 gROOT->ProcessLine(
"rungames()");
54 gROOT->ProcessLine(
"#undef __RUN_GAMES__");
66 Hello *
hello =
new Hello();
69 Aclock *clock =
new Aclock();
72 Tetris *tetris =
new Tetris();
virtual const char * GetName() const
Returns name of object.
std::string hello(std::string who, std::string msg)
virtual int Load(const char *module, const char *entry="", Bool_t system=kFALSE)
Load a shared library.
R__EXTERN TSystem * gSystem
virtual Int_t Exec(const char *shellcmd)
Execute a command.