Changeset 0904354 in rtems-graphics-toolkit


Ignore:
Timestamp:
Jul 11, 2012, 12:33:29 AM (7 years ago)
Author:
Alexandru-Sever Horin <alex.sever.h@…>
Branches:
master
Children:
86b99f7
Parents:
0f2c011
git-author:
Alexandru-Sever Horin <alex.sever.h@…> (07/11/12 00:33:29)
git-committer:
Alexandru-Sever Horin <alex.sever.h@…> (08/06/12 11:04:29)
Message:

Some test examples. Probably others work too

Location:
fltk-1.3.0/test
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • fltk-1.3.0/test/Makefile

    r0f2c011 r0904354  
    3131include $(RTEMS_CUSTOM)
    3232include $(PROJECT_ROOT)/make/leaf.cfg
     33
     34LDLIBS+= ../../microwin/src/obj/rtems_init.o ../../microwin/src/obj/FilesystemImage.o
    3335
    3436CPPFILES =\
     
    299301
    300302browser$(EXEEXT): browser.o
     303        $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o $@ browser.o $(LINKFLTKFORMS) $(LDLIBS)
     304
    301305
    302306button$(EXEEXT): button.o
     
    328332demo$(EXEEXT): demo.o
    329333        echo Linking $@...
    330         $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o $@ demo.o $(LINKFLTKFORMS) $(LDLIBS) ../../microwin/src/obj/rtems_init.o ../../microwin/src/obj/FilesystemImage.o
     334        $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o $@ demo.o $(LINKFLTKFORMS) $(LDLIBS)
    331335
    332336device$(EXEEXT): device.o $(IMGLIBNAME)
     
    338342editor$(EXEEXT): editor.o
    339343        echo Linking $@...
    340         $(CXX) $(ARCHFLAGS) $(LDFLAGS) editor.o -o $@ $(LINKFLTKIMG) $(LDLIBS)
     344        $(CXX) $(ARCHFLAGS) $(LDFLAGS) editor.o -o $@ $(LINKFLTKIMG) $(LDLIBS) 
    341345
    342346fast_slow$(EXEEXT): fast_slow.o
     
    354358
    355359hello$(EXEEXT): hello.o 
    356         $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o $@ hello.o $(LINKFLTKFORMS) $(LDLIBS) ../../microwin/src/obj/rtems_init.o ../../microwin/src/obj/FilesystemImage.o
     360        $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o $@ hello.o $(LINKFLTKFORMS) $(LDLIBS)
    357361
    358362help$(EXEEXT): help.o $(IMGLIBNAME)
    359363        echo Linking $@...
    360         $(CXX) $(ARCHFLAGS) $(LDFLAGS) help.o -o $@ $(LINKFLTKIMG) $(LDLIBS)
     364        $(CXX) $(ARCHFLAGS) $(LDFLAGS) help.o -o $@ $(LINKFLTKIMG) $(LDLIBS) 
    361365
    362366iconize$(EXEEXT): iconize.o
  • fltk-1.3.0/test/blocks.cxx

    r0f2c011 r0904354  
    495495
    496496
    497 int
    498 main(int argc, char *argv[]) {
     497extern "C" int rtems_main(int argc, char *argv[]) {
    499498  Fl::scheme("plastic");
    500499  Fl::visible_focus(0);
  • fltk-1.3.0/test/browser.cxx

    r0f2c011 r0904354  
    123123}
    124124
    125 int main(int argc, char **argv) {
     125extern "C" int rtems_main(int argc, char **argv) {
    126126  int i;
    127127  if (!Fl::args(argc,argv,i)) Fl::fatal(Fl::help);
  • fltk-1.3.0/test/help.cxx

    r0f2c011 r0904354  
    6060//
    6161
    62 int                             // O - Exit status
    63 main(int  argc,                 // I - Number of command-line arguments
     62                                // O - Exit status
     63extern "C" int rtems_main(int  argc,                    // I - Number of command-line arguments
    6464     char *argv[])              // I - Command-line arguments
    6565{
Note: See TracChangeset for help on using the changeset viewer.