All pastes #437568 Raw Edit

Mine

public text v1 · immutable
·published 2007-04-13 02:58 UTC
rendered paste body
# Makefile for programs to index and search an index.

FLAGS= -Wall -g
SRC =  freq_list.c
OBJ =  freq_list.o

all : yocto


yocto : yocto.o ${OBJ}
        gcc ${FLAGS} -o $@ yocto.o ${OBJ}

# Separately compile each C file
%.o : %.c freq_list.h
        gcc ${FLAGS} -c $<

# Update all dependencies.
depend :
        makedepend ${SRC}

clean :
        -rm *.o yocto-server yocto-client