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

⟦b742541fb⟧ TextFile

    Length: 830 (0x33e)
    Types: TextFile
    Names: »Makefile«

Derivation

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

TextFile


# See bog.h for configuration

OBJS=bog.o help.o mach.o prtable.o timer.o word.o

CFLAGS=-O
LIBS=-lcurses -ltermlib

# DICT is the dictionary that will be used to construct the word list used
# by bog
DICT=/usr/dict/words

bog: $(OBJS)
	cc $(CFLAGS) -s -o bog $(OBJS) $(LIBS)

all: bog mkdict mkindex dict

mkdict: mkdict.c
	cc -s -O -o mkdict mkdict.c

mkindex: mkindex.c
	cc -s -O -o mkindex mkindex.c

showdict: showdict.o word.o
	cc -s -O -o showdict showdict.o word.o
	rm -f showdict.o

dict: mkdict mkindex
	./mkdict < $(DICT) > dict
	./mkindex < dict > dict.ind

$(OBJS): bog.h

install: all
	@echo "Move dict, dict.ind, and the helpfile to where you specified in bog.h"
	@echo "Move bog.man to where you want the manual page to go"

clean:
	rm -f *.o bog

lint:
	lint -abchx bog.c help.c mach.c prtable.c timer.c word.c