11 lines
310 B
Makefile
11 lines
310 B
Makefile
CC?=gcc
|
|
|
|
CFLAGS_DEV=-DJB_PRESET_DEBUG -ggdb -fsanitize=address -Og
|
|
CFLAGS_RELEASE=-O2 -fgraphite-identity -funroll-loops -ftree-vectorize -flto -ggdb
|
|
|
|
CFLAGS+=-pipe -Wall -Wextra -Wshadow -pedantic -std=c99
|
|
|
|
CFLAGS+=$(CFLAGS_RELEASE)
|
|
|
|
jitterbug: util.c wire.c match.c server.c main.c
|
|
$(CC) $(CFLAGS) -o $@ $^
|