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

⟦0af2b600f⟧ TextFile

    Length: 1456 (0x5b0)
    Types: TextFile
    Names: »Makefile«

Derivation

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

TextFile

##
##  Makefile for sonnet.
##  $Header: Makefile,v 2.0 89/02/08 16:29:38 rsalz Release1 $
##

##  Some systems have strchr/strrchr, some have index/rindex.
##  If you're the latter, then uncomment the next line.
#DEFS	= -DUSE_INDEX

##  If getopt isn't in your C library, and you can't add it, uncomment
##  these two lines.
#GET_c	= getopt.c
#GET_o	= getopt.o

##  On some systems, curses is just part of terminfo or termlib.
#LIBS	= -lterminfo
LIBS	= -lcurses -ltermcap

##  If you don't want to check the code against the library use for lint,
##  edit this line
LLIBS	= $(LIBS)

##  If you add to the database, put the words here.
#LEXERS	= lex.data lex.bbn
LEXERS	= lex.data

##
##  END OF CONFIG SECTION
##

CFLAGS	= -g $(DEFS)

SOURCES	= sonnet.c compose.c $(GET_c)
OBJECTS	= sonnet.o compose.o $(GET_o)

all:		sonnet sonnet.6

install:	all
	@echo Install according to local convention

clean:
	rm -f foo core tags a.out lint lints lintm
	rm -f sonnet lex.c makelex $(OBJECTS)

shar:
	makekit -m -nSHAR
	@rm -f MANIFEST.BAK
##
lint:		lints lintm
lints:		sonnet
	lint -a -b -h $(DEFS) $(SOURCES) $(LLIBS) >lints
lintm:		makelex
	lint -a -b -h $(DEFS) makelex.c >lintm

##
sonnet:		$(OBJECTS)
	@rm -f sonnet
	$(CC) $(CFLAGS) -o sonnet $(OBJECTS) $(LIBS)

makelex:	makelex.c sonnet.h
	@rm -f makelex
	$(CC) $(CFLAGS) -o makelex makelex.c

##
$(OBJECTS):		sonnet.h
compose.o:		lex.c
lex.c:			lex.data makelex 
	@rm -f lex.c
	./makelex $(LEXERS) >lex.c