Skip to content

Commit ab3685c

Browse files
committed
Update Makefile
1 parent cba6621 commit ab3685c

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Makefile

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
1-
# Makefile for Proxy Lab
2-
3-
41
CC = gcc
52
CFLAGS = -g -Werror
63
LDFLAGS = -lpthread
74

8-
proxy: proxy.c cache/cache.c proxy-helpers service.c robust-input-output/robust_io.c thread-helpers semaphore/semaphore.c socket-interface/socket.c thread-helpers proxy-helpers proxy-helpers cache/cache.h constants.h proxy-helpers service.h robust-input-output/robust_io.h thread-helpers semaphore/semaphore.h socket-interface/socket.h thread-helpers proxy-helpers proxy-helpers
5+
proxy: proxy.c cache/cache.c cache/cache.h proxy-helpers/error_handling.c proxy-helpers/error_handling.h proxy-helpers/url_parser.c proxy-helpers/url_parser.h proxy-helpers/wrappers.c proxy-helpers/wrappers.h robust-input-output/robust_io.c robust-input-output/robust_io.h semaphore/semaphore.c semaphore/semaphore.h socket-interface/socket.c socket-interface/socket.h thread-helpers/sbuf.c thread-helpers/sbuf.h thread-helpers/thread.c thread-helpers/thread.h service.c service.h constants.h
96
$(CC) $(CFLAGS) -o proxy service.c ./cache/cache.c ./proxy-helpers/error_handling.c ./robust-input-output/robust_io.c ./thread-helpers/sbuf.c ./semaphore/semaphore.c ./socket-interface/socket.c ./thread-helpers/thread.c ./proxy-helpers/url_parser.c ./proxy-helpers/wrappers.c proxy.c $(LDFLAGS)
107

118

12-
# Creates a tarball in ../proxylab-handin.tar that you can then
13-
# hand in. DO NOT MODIFY THIS!
14-
159

1610
clean:
1711
rm -f *~ *.o proxy

0 commit comments

Comments
 (0)