Update stuff
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
CC=gcc
|
||||
CFLAGS=-Wall -Wextra -Wpedantic -std=c23 -D_POSIX_C_SOURCE=200809L -pthread -O2
|
||||
CFLAGS+=-Og -g -fsanitize=address,undefined
|
||||
# If set to 1, the autograder
|
||||
BAD_ERROR_REPORTING_FOR_AUTOGRADER=1
|
||||
|
||||
CC=clang
|
||||
CFLAGS=-Wall -Wextra -Wpedantic -Werror -std=c23 -D_POSIX_C_SOURCE=200809L -pthread -O2
|
||||
#CFLAGS+=-Og -g -fsanitize=address,undefined
|
||||
SRCS=main.c threadpool.c util.c server.c http.c
|
||||
|
||||
OBJS=$(SRCS:%.c=bin/%.o)
|
||||
ifeq ($(BAD_ERROR_REPORTING_FOR_AUTOGRADER),1)
|
||||
CFLAGS+=-DBAD_ERROR_REPORTING_FOR_AUTOGRADER=1
|
||||
endif
|
||||
|
||||
all: httpserver
|
||||
|
||||
|
||||
Reference in New Issue
Block a user