SAI || Sommersemester 1997 || Systemnahe Software II || Übungen

<- Alle Module

Lösung zu Blatt 7 (Aufgabe 8): makefile

Regeln für make.

makefile

CC      = gcc
#CFLAGS = -Wall

TASK    = search
OBJ     = search.o streamio.o main.o strlwr.o callsock.o

$(TASK):        $(OBJ)
        $(CC) -g -o $@ $(OBJ) -lsocket -lnsl


search.o:       stream.h
streamio.o:     stream.h
 

clean:
        -rm -f $(TASK) $(OBJ) core
<- Alle Module
SAI || Sommersemester 1997 || Systemnahe Software II || Übungen

Matthias Grabert, Juli 1997