Subversion Repositories sdlthrust

Compare Revisions

Ignore whitespace Rev 4 → Rev 5

/trunk/RiscPkg/Control
1,12 → 1,13
Source: sdlthrust
Version: 0.89f-sdl-1
Version: 0.89f-sdl-2
Section: Games
Priority: Optional
Maintainer: Alan Buckley <alan_baa@hotmail.com>
Standards-Version: 0.1.0
Standards-Version: 0.4.0
Licence: Free
Description: Rewrite of the classic Thrust game
The object of the game is to lift the Klystron Pod from the bottom of a cave and return it safely to space.
Components: Apps.Games.!SDLThrust (Movable)
 
Package: SDLThrust
Depends: SharedUnixLibrary, DRenderer
/trunk/RiscPkg/SDLThrust.inc
1,6 → 1,6
RiscPkg/*
Apps/Games/!SDLThrust/!*
Apps/Games/!SDLThrust/COPYING
Apps/Games/!SDLThrust/SDLThrust
Apps/Games/!SDLThrust/thrustrc
RiscPkg.*
Apps.Games.!SDLThrust.!*
Apps.Games.!SDLThrust.COPYING
Apps.Games.!SDLThrust.SDLThrust
Apps.Games.!SDLThrust.thrustrc
 
/trunk/RiscPkg/Rules
1,4 → 1,4
VERSION = 0.89f-sdl-1
VERSION = 0.89f-sdl-2
PACKAGES = \
SDLThrust_$(VERSION)
INSTALL_TO=Temp/Apps/Games
13,8 → 13,10
rm -rf Temp
mkdir -p Temp/RiscPkg
cp RiscPkg/Control Temp/RiscPkg
cp RiscPkg/Copyright Temp/RiscPkg
mkdir -p $(INSTALL_TO)
cp -rf !SDLThrust $(INSTALL_TO)/!SDLThrust
svn export !SDLThrust $(INSTALL_TO)/!SDLThrust
cp !SDLThrust/SDLThrust $(INSTALL_TO)/!SDLThrust
make -C Temp -f ../RiscPkg/Rules $(PACKAGES)
rm -rf Temp
 
24,6 → 26,6
rm -f ../RiscPkg/$@
set StoreSuffix <UnixEnv$$zip$$sfix>
set UnixEnv$$zip$$sfix \"\"
zip -r ../RiscPkg/$@ * -i@../RiscPkg/$(firstword $(subst _, ,$@)).inc
zip -r ^.RiscPkg.$(subst .,/,$@) * -i@^.RiscPkg.$(firstword $(subst _, ,$@))/inc
set UnixEnv$$zip$$sfix <StoreSuffix>
unset StoreSuffix
/trunk/!SDLThrust/source/makefile.riscos
3,11 → 3,11
CC=gcc
LD=gcc
 
CFLAGS=-O3 -I/SDL:include -DHAVE_CONFIG_H
LDFLAGS=-L/SDL:lib -lSDL
CFLAGS=-O3 -ISDL: -DHAVE_CONFIG_H
LDFLAGS=-LSDL: -lSDL -static
 
TARGET=../SDLThrust
EXE=
TARGET=^.SDLThrust
TARGETELF=sdlthrustelf
 
# Common files
 
24,10 → 24,10
datasrc/demomove.c datasrc/level1.c datasrc/level2.c \
datasrc/level3.c datasrc/level4.c datasrc/level5.c \
datasrc/level6.c datasrc/font.c \
src/sdlkey.c src/sdl.c src/sdlsound.c \
datasrc/icon48.cdatasrc/blip.c \
src/sdlkey.c src/sdl.c src/sdlsound.c \
datasrc/icon48.cdatasrc/blip.c \
datasrc/boom.c datasrc/boom2.c datasrc/harp.c datasrc/engine.c \
datasrc/zero.c src/silence.c
datasrc/zero.c
 
OBJECTS=src/thrust.o src/fast_gr.o src/hiscore.o \
src/conf.o src/things.o src/init.o src/level.o src/font5x5.o \
36,11 → 36,13
datasrc/demomove.o datasrc/level1.o datasrc/level2.o \
datasrc/level3.o datasrc/level4.o datasrc/level5.o \
datasrc/level6.o datasrc/font.o \
src/sdlkey.o src/sdl.o src/sdlsound.o \
datasrc/icon48.o datasrc/blip.o \
src/sdlkey.o src/sdl.o src/sdlsound.o \
datasrc/icon48.o datasrc/blip.o \
datasrc/boom.o datasrc/boom2.o datasrc/harp.o datasrc/engine.o \
datasrc/zero.o src/silence.o
datasrc/zero.o
 
$(TARGET): $(TARGETELF)
elf2aif $(TARGETELF) $(TARGET)
 
$(TARGET)$(EXE): $(OBJECTS)
$(LD) -o $(TARGET)$(EXE) $(LDFLAGS) $(OBJECTS)
$(TARGETELF): $(OBJECTS)
$(LD) -o $(TARGETELF) $(LDFLAGS) $(OBJECTS)