Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for games/3do-view/Makefile between version 1.10 and 1.11

version 1.10, 2003/07/31 13:24:23 version 1.11, 2003/08/12 17:20:54
Line 1 
Line 1 
 #  #
 # $Platon: games/3do-view/Makefile,v 1.9 2003/07/25 19:17:46 rajo Exp $  # $Platon: games/3do-view/Makefile,v 1.10 2003/07/31 13:24:23 nepto Exp $
 #  #
   
 PACKAGE = 3do-view  PACKAGE = 3do-view
Line 32  CXX      =
Line 32  CXX      =
 CFLAGS   = -O3 -pedantic -Wall $(DEBUG_FLAGS)  CFLAGS   = -O3 -pedantic -Wall $(DEBUG_FLAGS)
 CPPFLAGS =  CPPFLAGS =
 LDFLAGS  =  LDFLAGS  =
 DEFS     = -DPLATON_SYSTEM_SVGALIB -DPACKAGE='"$(PACKAGE)"' -DVERSION='"$(VERSION)-svgalib"'  
 INCLUDES = -I_shared  INCLUDES = -I_shared
 LIBS     = -lvgagl -lvga -lm  
   
   SVGALIB_DEFS    = -DPLATON_SYSTEM_SVGALIB -DPACKAGE='"$(PACKAGE)"' -DVERSION='"$(VERSION)-svgalib"'
 COMPILE  = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)  SVGALIB_LIBS    = -lvgagl -lvga -lm
 CCLD     = $(CC)  SVGALIB_COMPILE = $(CC) $(SVGALIB_DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
 LINK     = $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@  SVGALIB_CCLD    = $(CC)
   SVGALIB_LINK    = $(SVGALIB_CCLD) $(CFLAGS) $(LDFLAGS) -o $@
   
   X11_DEFS     = -DPLATON_SYSTEM_X11 -DPACKAGE='"$(PACKAGE)"' -DVERSION='"$(VERSION)-x11"'
   X11_LIBS     = -L/usr/X11R6/lib -lX11
   X11_COMPILE  = $(CC) $(X11_DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
   X11_CCLD     = $(CC)
   X11_LINK     = $(X11_CCLD) $(CFLAGS) $(LDFLAGS) -o $@
   
 # }}} Programs  # }}} Programs
   
   
 OBJECTS = dir.o 3do-view.o dos2linux.o my-graph.o mouse.o standart.o  SVGALIB_OBJECTS = dir.o 3do-view.o dos2linux.o my-graph.o mouse.o standart.o
   X11_OBJECTS = dir.xo 3do-view.xo dos2linux.xo my-graph.xo mouse.xo standart.xo x11-graph.xo
   
 prefix = /usr/local  prefix = /usr/local
 bindir = $(prefix)/games  bindir = $(prefix)/games
Line 67  DISTFILES = Makefile \
Line 73  DISTFILES = Makefile \
                         data/strange1.3do \                          data/strange1.3do \
                         data/strange2.3do \                          data/strange2.3do \
                         _shared/ \                          _shared/ \
                         _shared/dos2linux.c \                          _shared/dos2linux.c \
                         _shared/dos2linux.h \                          _shared/dos2linux.h \
                         _shared/dos2win32.c \                          _shared/dos2win32.c \
                         _shared/dos2win32.h \                          _shared/dos2win32.h \
Line 87  DISTFILES = Makefile \
Line 93  DISTFILES = Makefile \
                         _shared/standart.h \                          _shared/standart.h \
                         _shared/stshared.c \                          _shared/stshared.c \
                         _shared/system.h \                          _shared/system.h \
                         _shared/typedef.h \                          _shared/typedef.h \
                         _shared/winbgim.cpp \                          _shared/winbgim.cpp \
                         _shared/winbgim.h \                          _shared/winbgim.h
   
   
   
   
 all:  all:
         @echo Available targets:          @echo Available targets:
Line 101  all:
Line 104  all:
         @echo - win32: makes MS-Windows 32-bit executable          @echo - win32: makes MS-Windows 32-bit executable
         @echo - win32-clean: cleans MS-Windows working files          @echo - win32-clean: cleans MS-Windows working files
         @echo - svgalib: makes SVGAlib Linux binary          @echo - svgalib: makes SVGAlib Linux binary
         @echo - svgalib-clean: cleans Linux working files          @echo - svgalib-clean: cleans SVGAlib Linux working files
           @echo - x11: makes X Windows System binary
           @echo - x11-clean: cleans X Windows System working files
   
 msdos:  msdos:
         make -DPACKAGE="$(PACKAGE)" -DVERSION="$(VERSION)-msdos" -f Makefile.dos          make -DPACKAGE="$(PACKAGE)" -DVERSION="$(VERSION)-msdos" -f Makefile.dos
Line 115  win32:
Line 120  win32:
 win32-clean:  win32-clean:
         nmake -D PACKAGE="$(PACKAGE)" -D VERSION="$(VERSION)-win32" -f Makefile.win clean          nmake -D PACKAGE="$(PACKAGE)" -D VERSION="$(VERSION)-win32" -f Makefile.win clean
   
 svgalib: unix-shared-test $(OBJECTS)  svgalib: unix-shared-test $(SVGALIB_OBJECTS)
         $(CC) $(CFLAGS) -o 3do-view $(OBJECTS) $(LIBS)          $(CC) $(CFLAGS) -o 3do-view $(SVGALIB_OBJECTS) $(SVGALIB_LIBS)
   
 clean:  
         -rm -rf $(distdir)  
   
 svgalib-clean:  svgalib-clean:
         -rm -f 3do-view $(OBJECTS)          -rm -f 3do-view $(SVGALIB_OBJECTS)
   
   x11: unix-shared-test $(X11_OBJECTS)
           $(CC) $(CFLAGS) -o x3do-view $(X11_OBJECTS) $(X11_LIBS)
   
   x11-clean:
           -rm -f x3do-view $(X11_OBJECTS)
   
 unix-shared-test:  unix-shared-test:
         @if test ! -d _shared; then                                                                                             \          @if test ! -d _shared; then                                                                                             \
Line 137  unix-shared-test:
Line 145  unix-shared-test:
                 fi;                                                                                                                                     \                  fi;                                                                                                                                     \
         fi          fi
   
 #install: all  #
 #       install -m 4755 -o root -g root -s 3do-view $(bindir)  # svgalib target objects
   #
   
 dir.o: dir.c dir.h  dir.o: dir.c dir.h
         $(COMPILE) -c dir.c -o dir.o          $(SVGALIB_COMPILE) -c dir.c -o dir.o
   
 3do-view.o: 3do-view.c  3do-view.o: 3do-view.c
         $(COMPILE) -c 3do-view.c -o 3do-view.o          $(SVGALIB_COMPILE) -c 3do-view.c -o 3do-view.o
   
 dos2linux.o: _shared/dos2linux.c _shared/dos2linux.h  dos2linux.o: _shared/dos2linux.c _shared/dos2linux.h
         $(COMPILE) -c _shared/dos2linux.c -o dos2linux.o          $(SVGALIB_COMPILE) -c _shared/dos2linux.c -o dos2linux.o
   
 my-graph.o: _shared/my-graph.c _shared/my-graph.h  my-graph.o: _shared/my-graph.c _shared/my-graph.h
         $(COMPILE) -c _shared/my-graph.c -o my-graph.o          $(SVGALIB_COMPILE) -c _shared/my-graph.c -o my-graph.o
   
 mouse.o: _shared/mouse-svgalib.c _shared/mouse.h  mouse.o: _shared/mouse-svgalib.c _shared/mouse.h
         $(COMPILE) -c _shared/mouse-svgalib.c -o mouse.o          $(SVGALIB_COMPILE) -c _shared/mouse-svgalib.c -o mouse.o
   
 standart.o: _shared/stshared.c _shared/standart-linux.c _shared/standart.h  standart.o: _shared/stshared.c _shared/standart-linux.c _shared/standart.h
         $(COMPILE) -c _shared/standart-linux.c -o standart.o          $(SVGALIB_COMPILE) -c _shared/standart-linux.c -o standart.o
   
   #
   # x11 target objects
   #
   
 # Distribution targets {{{  # Distribution targets {{{
 dist: unix-shared-test distdir  dist: unix-shared-test distdir

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top