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

Diff for games/3do-view/Makefile between version 1.8 and 1.9

version 1.8, 2003/07/09 18:44:43 version 1.9, 2003/07/25 19:17:46
Line 1 
Line 1 
   #
   # $Platon: games/3do-view/Makefile,v 1.8 2003/07/09 18:44:43 nepto Exp $
   #
   
 PACKAGE = 3do-view  PACKAGE = 3do-view
 VERSION = 1.4  VERSION = 1.4
   
 # $Platon: games/3do-view/Makefile,v 1.7 2003/06/27 21:53:21 nepto Exp $  export PACKAGE
   export VERSION
   
   # Directories {{{
   
   srcdir       = .
   top_srcdir   = .
   distdir      = $(PACKAGE)-$(VERSION)
   top_distdir  = $(distdir)
   top_builddir = .
   
   # }}} Directories
   
   # Programs {{{
   
   TAR      = tar
   ZIP      = zip
   ZIP_ENV  = -r9
   GZIP_ENV = --best
   
   CC       = gcc
   CPP      =
   CXX      =
   #DEBUG_FLAGS = -g -ggdb -DDEBUG
   CFLAGS   = -O3 -pedantic -Wall $(DEBUG_FLAGS)
   CPPFLAGS =
   LDFLAGS  =
   DEFS     = -DPLATON_SYSTEM_SVGALIB -DPACKAGE='"$(PACKAGE)"' -DVERSION='"$(VERSION)-svgalib"'
   INCLUDES = -I_shared
   LIBS     = -lvgagl -lvga -lm
   
   
   COMPILE  = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
   CCLD     = $(CC)
   LINK     = $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@
   
   # }}} Programs
   
   
 CC = gcc  
 CFLAGS = -DPLATON_SYSTEM_SVGALIB -DPACKAGE='"$(PACKAGE)"' -DVERSION='"$(VERSION)-svgalib"' -I_shared -O3 -pedantic -Wall  
 OBJECTS = dir.o 3do-view.o dos2linux.o my-graph.o mouse.o standart.o  OBJECTS = dir.o 3do-view.o dos2linux.o my-graph.o mouse.o standart.o
 LIBS = -lvgagl -lvga -lm  
 RM = rm -f  
 prefix = /usr/local  prefix = /usr/local
 bindir = $(prefix)/games  bindir = $(prefix)/games
   
   DISTFILES = Makefile \
                           dir.c \
                           dir.h \
                           3do-view.c \
                           doc/ \
                           doc/readme.txt \
                           data/ \
                           data/char-l.3do \
                           data/char-r.3do \
                           data/char-r2.3do \
                           data/cube-x.3do \
                           data/cube.3do \
                           data/pyramid.3do \
                           data/rocket.3do \
                           data/stand.3do \
                           data/strange1.3do \
                           data/strange2.3do \
                           _shared/ \
                           _shared/dos2linux.c \
                           _shared/dos2linux.h \
                           _shared/dos2win32.c \
                           _shared/dos2win32.h \
                           _shared/fontlib.c \
                           _shared/macros.h \
                           _shared/menu.c \
                           _shared/menu.h \
                           _shared/mouse-svgalib.c \
                           _shared/mouse-win32.c \
                           _shared/mouse.c \
                           _shared/mouse.h \
                           _shared/my-graph.c \
                           _shared/my-graph.h \
                           _shared/standart-linux.c \
                           _shared/standart-win32.c \
                           _shared/standart.c \
                           _shared/standart.h \
                           _shared/stshared.c \
                           _shared/system.h \
                           _shared/typedef.h \
                           _shared/winbgim.cpp \
                           _shared/winbgim.h \
   
   
   
   
 all:  all:
         @echo Available targets:          @echo Available targets:
         @echo - msdos: makes MS-Dos executable          @echo - msdos: makes MS-Dos executable
Line 35  win32-clean:
Line 118  win32-clean:
 svgalib: unix-shared-test $(OBJECTS)  svgalib: unix-shared-test $(OBJECTS)
         $(CC) $(CFLAGS) -o 3do-view $(OBJECTS) $(LIBS)          $(CC) $(CFLAGS) -o 3do-view $(OBJECTS) $(LIBS)
   
   clean: svgalib-clean
 svgalib-clean:  svgalib-clean:
         $(RM) 3do-view $(OBJECTS)          -rm -f 3do-view $(OBJECTS)
           -rm -rf $(distdir)
   
 unix-shared-test:  unix-shared-test:
         @if test ! -d _shared; then                                                                                             \          @if test ! -d _shared; then                                                                                             \
Line 55  unix-shared-test:
Line 140  unix-shared-test:
 #       install -m 4755 -o root -g root -s 3do-view $(bindir)  #       install -m 4755 -o root -g root -s 3do-view $(bindir)
   
 dir.o: dir.c dir.h  dir.o: dir.c dir.h
         $(CC) $(CFLAGS) -c dir.c -o dir.o          $(COMPILE) -c dir.c -o dir.o
   
 3do-view.o: 3do-view.c  3do-view.o: 3do-view.c
         $(CC) $(CFLAGS) -c 3do-view.c -o 3do-view.o          $(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
         $(CC) $(CFLAGS) -c _shared/dos2linux.c -o dos2linux.o          $(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
         $(CC) $(CFLAGS) -c _shared/my-graph.c -o my-graph.o          $(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
         $(CC) $(CFLAGS) -c _shared/mouse-svgalib.c -o mouse.o          $(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
         $(CC) $(CFLAGS) -c _shared/standart-linux.c -o standart.o          $(COMPILE) -c _shared/standart-linux.c -o standart.o
   
   # Distribution targets {{{
   dist: unix-shared-test distdir
           GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
           ZIP=$(ZIP_ENV) $(ZIP) $(distdir).zip $(distdir)
           -rm -rf $(distdir)
   
   dist-all: distdir
           GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
           ZIP=$(ZIP_ENV) $(ZIP) $(distdir).zip $(distdir)
           -rm -rf $(distdir)
   
   distdir: $(DISTFILES)
           -rm -rf $(distdir)
           mkdir $(distdir)
           @here=`cd $(top_builddir) && pwd`; \
           top_distdir=`cd $(distdir) && pwd`; \
           distdir=`cd $(distdir) && pwd`;
           @FILES=`echo "$(DISTFILES)" | awk 'BEGIN{RS=" "}{print}' | sort -u`; \
           for file in $$FILES; do \
             d=$(srcdir); \
             if test -d $$d/$$file; then \
               mkdir $(distdir)/$$file; \
             else \
               test -f $(distdir)/$$file \
               || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
               || cp -p $$d/$$file $(distdir)/$$file || :; \
             fi; \
           done
   
   # }}}
   
   # vim600: fdm=marker fdc=3
   

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

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