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

⟦b338933a7⟧ TextFile

    Length: 1757 (0x6dd)
    Types: TextFile
    Names: »Makefile«

Derivation

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

TextFile

#	Makefile for nobs.
#	G. L. Sicherman (ihnp4!odyssey!gls).  March 1988.  April 1988.
#	BSD fixes by saab!billr.
#	Xenix fixes by 1solaria!gordon.
#-------
# CONFIGURABLE PARAMETERS:

# Define destinations for executable and manpage:
BINDEST=$$HOME/bin/nobs
MANDEST=$$HOME/man/nobs.6

# Define BSD for Berkeley, Sun, Xenix, etc.
# BSDFLAG= -DBSD
BSDFLAG=

# Define FLOAT for systems that need a floating-point
# interpreter linked in.  (3b5, Unix(TM) PC (?), etc.)
# FLOAT= -f
FLOAT=

# If BSD or Xenix, you need -ltermcap.
# If Xenix, you need -lx.
# LIB= -lcurses -ltermcap -lx
LIB= -lcurses

# If Xenix, you need -Mm and -F 2000.
# XFLGS= -Mm -F 2000
XFLGS=

# Define NOHINT to disable the -h option.
# NOHINTFLAG= -DNOHINT
NOHINTFLAG= 

# Define GDISC to discard with 'g' instead of CR.
# GDISCFLAG= -DGDISC
GDISCFLAG=

# End of configurable parameters.  Good luck!

CFLAGS= -O $(BSDFLAG) $(FLOAT) $(XFLGS) $(GDISCFLAG) $(NOHINTFLAG)

OBJS = nobs.o logglobs.o window.o gamescore.o deal.o shuf.o play.o human.o \
   pegs.o program.o playscore.o show.o progaux.o logaux.o wglobs.o globs.o \
   version.o

SHARS = nobs.c logglobs.c window.c gamescore.c deal.c shuf.c play.c human.c \
   pegs.c program.c playscore.c show.c progaux.c logaux.c wglobs.c \
   globs.c version.c defs.h globs.h logglobs.h window.h nobs.6 Makefile README

all: nobs
nobs: $(OBJS)
	cc $(CFLAGS) -o nobs $(OBJS) $(LIB)
$(OBJS): defs.h globs.h
log.o progaux.o program.o: logglobs.h
play.o program.o human.o gamescore.o pegs.o window.o show.o: window.h

install: nobs nobs.6
	rm -f $(BINDEST) $(MANDEST)
	cp nobs $(BINDEST)
	echo ".ds nh $(NOHINTFLAG)" > $(MANDEST)
	cat nobs.6 >> $(MANDEST)

shar: nobs.shar
nobs.shar: $(SHARS)
	shar $(SHARS) > $@

clean:
	rm -f nobs *.o nobs.shar