Mine
public text v1 · immutable# 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