Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (14 sloc) 0.591 kb
CC_OPTS = -Wall -Werror -lev -ggdb3 -I./include
all: obj/array-heap.o bin/unix-echo-server bin/unix-echo-client bin/udp-echo-server
clean:
rm -f *.o bin/*
bin/array-test: src/array-test.c obj/array-heap.o
$(CC) $(CC_OPTS) -o $@ $< obj/array-heap.o
obj/array-heap.o: src/array-heap.c include/array-heap.h
$(CC) $(CC_OPTS) -o $@ -c $<
bin/udp-echo-server: src/udp-echo-server.c
$(CC) $(CC_OPTS) -o $@ $<
bin/unix-echo-server: src/unix-echo-server.c obj/array-heap.o
$(CC) $(CC_OPTS) -o $@ $< obj/array-heap.o
bin/unix-echo-client: src/unix-echo-client.c
$(CC) $(CC_OPTS) -o $@ $<
Jump to Line
Something went wrong with that request. Please try again.