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

⟦cff4ab7d1⟧ TextFile

    Length: 777 (0x309)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦a05ed705a⟧ Bits:30007078 DKUUG GNU 2/12/89
    └─⟦f7bc72012⟧ »./grep-1.4.tar.Z« 
        └─⟦a84cb5e66⟧ 
            └─⟦this⟧ »grep-1.4/Makefile« 
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦6969b3952⟧ »EurOpenD3/gnu/grep-1.3.tar.Z« 
        └─⟦f9ec7831d⟧ 
            └─⟦this⟧ »grep-1.3/Makefile« 

TextFile

#
# Makefile for GNU e?grep
#

# Add -DUSG for System V.
CFLAGS = -O

#
# You may add getopt.o if your C library lacks getopt(); note that
# 4.3BSD getopt() is said to be somewhat broken.
#
# Add alloca.o if your machine does not support alloca().
#
OBJS = dfa.o regex.o
GOBJ = grep.o
EOBJ = egrep.o

# Space provided for machine dependent libraries.
LIBS =

all: regress

regress: egrep grep
	cd tests; sh regress.sh

egrep: $(OBJS) $(EOBJ)
	$(CC) $(CFLAGS) -o egrep $(OBJS) $(EOBJ) $(LIBS)

egrep.o: grep.c
	$(CC) $(CFLAGS) -DEGREP -c grep.c
	mv grep.o egrep.o

grep: $(OBJS) $(GOBJ)
	$(CC) $(CFLAGS) -o grep $(OBJS) $(GOBJ) $(LIBS)

clean:
	rm -f grep egrep *.o core tests/core tests/tmp.script tests/khadafy.out

dfa.o egrep.o grep.o: dfa.h
egrep.o grep.o regex.o: regex.h