DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: M T

⟦c895112e6⟧ TextFile

    Length: 2067 (0x813)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/General/Galaxy/src/Makefile« 

TextFile

# Galaxy Makefile. Belongs to ~galaxy/src.
# SccsId  %W% (mrdch&amnnon) %G%
#

LIBDIR  = /usr/games/lib/galaxy
HOMEDIR = /users/guest/galaxy

CFILES  = assign.c blackout.c build.c detect_mv.c feed_pop.c \
          global.c init_all.c kill_alm.c leave_at.c \
          move_to.c no_detect.c over_stat.c parse.c planet_enq.c \
          planet_inf.c planet_sit.c play.c put_alm.c  \
          retrieve.c softclock.c take_from.c term2init.c trade.c \
          use_term.c wizard.c write.c end_game.c \
          savegame.c terminal.c set_missle.c best_score.c

OFILES  = assign.o blackout.o build.o detect_mv.o feed_pop.o \
          global.o init_all.o kill_alm.o leave_at.o \
          move_to.o no_detect.o over_stat.o parse.o planet_enq.o \
          planet_inf.o planet_sit.o play.o put_alm.o  \
          retrieve.o softclock.o take_from.o term2init.o trade.o \
          use_term.o wizard.o write.o end_game.o \
          savegame.o terminal.o set_missle.o best_score.o

HEADERS = header constants.h funcdef.h global.h typedefs.h options.h \
          score.h table.h

SOURCEDIR = .
LDFLAGS =
CC      = /bin/cc
RM      = /bin/rm
CTAGS   = /usr/ucb/ctags
GET     = /usr/bin/sccs get -s
PR      = /bin/pr
LPR     = /usr/bin/lpr
ECHO    = /bin/echo
MV      = /bin/mv
TAR     = /bin/tar

all     : galaxy
        @${ECHO}   Galaxy is up to date.

galaxy  : ${OFILES}
        ${CC} ${LDFLAGS} ${OFILES} -ltermlib
        @${MV} a.out galaxy

tags    : ${CFILES} ${HEADERS}
        ${CTAGS} ${CFILES} ${HEADERS}

clean   :
        ${RM} -f ${OFILES}

lpr     :
        ${PR} ${HEADERS} ${CFILES} | ${LPR}

${OFILES} : ${HEADERS}
.PRECIOUS: ${CFILES} ${HEADERS}
.DEFAULT: ${CFILES} ${HEADERS}
        ${GET} $@

install: galaxy
        cp galaxy ${LIBDIR}
        mv ${LIBDIR}/galaxy ${LIBDIR}/galaxy.out
        chuser galaxy ${LIBDIR}/galaxy.out
        chmod 4111 ${LIBDIR}/galaxy.out

gamelock:
        chmod 700 ${LIBDIR}/galaxy.out

gameok:
        chmod 4111 ${LIBDIR}/galaxy.out

tar     :
        ${TAR} cv ${SOURCEDIR}

backup  :
        ${TAR} cv ${HOMEDIR}