11 lines
252 B
Makefile
11 lines
252 B
Makefile
CC?=gcc
|
|
|
|
CFLAGS_DEV=-DJB_PRESET_DEBUG -ggdb -fsanitize=address -Og
|
|
CFLAGS_RELEASE=-O2 -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 $@ $^
|