-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (24 loc) · 1.46 KB
/
Makefile
File metadata and controls
34 lines (24 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
CLAGS=-g
test: test_http_status_parse.out test_http_blank_line_parse.out test_http_header_parse.out test_http_parse.out
./test_http_status_parse.out
./test_http_blank_line_parse.out
./test_http_header_parse.out
./test_http_parse.out
test_http_parse.out: test_http_parse.c http_parse.o http_header_parse.o http_blank_line_parse.o http_status_parse.o
gcc $(CFLAGS) -o test_http_parse.out test_http_parse.c http_parse.o debug.o http_header_parse.o http_blank_line_parse.o http_status_parse.o
test_http_header_parse.out: test_http_header_parse.c http_header_parse.o debug.o
gcc $(CFLAGS) -o test_http_header_parse.out test_http_header_parse.c http_header_parse.o debug.o
test_http_blank_line_parse.out: test_http_blank_line_parse.c http_blank_line_parse.o debug.o
gcc $(CFLAGS) -o test_http_blank_line_parse.out test_http_blank_line_parse.c http_blank_line_parse.o debug.o
test_http_status_parse.out: test_http_status_parse.c http_status_parse.o debug.o
gcc $(CFLAGS) -o test_http_status_parse.out test_http_status_parse.c http_status_parse.o debug.o
http_parse.o: http_parse.c http_parse.h
gcc $(CFLAGS) -c http_parse.c
http_header_parse.o: http_header_parse.c http_header_parse.h
gcc $(CFLAGS) -c http_header_parse.c
http_blank_line_parse.o: http_blank_line_parse.c http_blank_line_parse.h
gcc $(CFLAGS) -c http_blank_line_parse.c
http_status_parse.o: http_status_parse.c http_status_parse.h
gcc $(CFLAGS) -c http_status_parse.c
debug.o: debug.c debug.h
gcc $(CFLAGS) -c debug.c