2022-12-21 00:38:10 +02:00
|
|
|
CC?=gcc
|
2023-01-16 02:20:53 +02:00
|
|
|
|
|
|
|
CFLAGS_DEV=-DJB_PRESET_DEBUG -ggdb -fsanitize=address -Og
|
2023-01-16 13:59:10 +02:00
|
|
|
CFLAGS_RELEASE=-O2 -ggdb
|
2023-01-16 02:20:53 +02:00
|
|
|
|
|
|
|
CFLAGS+=-pipe -Wall -Wextra -Wshadow -pedantic -std=c99
|
|
|
|
|
2023-01-16 04:10:21 +02:00
|
|
|
CFLAGS+=$(CFLAGS_DEV)
|
2022-12-21 00:38:10 +02:00
|
|
|
|
2022-12-29 20:10:36 +02:00
|
|
|
jitterbug: util.c wire.c match.c server.c main.c
|
2022-12-21 00:38:10 +02:00
|
|
|
$(CC) $(CFLAGS) -o $@ $^
|