File tree 1 file changed +1
-7
lines changed
1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 1
- # Makefile for Proxy Lab
2
-
3
-
4
1
CC = gcc
5
2
CFLAGS = -g -Werror
6
3
LDFLAGS = -lpthread
7
4
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
9
6
$(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 )
10
7
11
8
12
- # Creates a tarball in ../proxylab-handin.tar that you can then
13
- # hand in. DO NOT MODIFY THIS!
14
-
15
9
16
10
clean :
17
11
rm -f * ~ * .o proxy
You can’t perform that action at this time.
0 commit comments