This repository has been archived on 2021-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
dynarray/config.mk

21 lines
236 B
Makefile

SRC = src/dynarray.c
BIN =
CC = clang
DEBUG = 1
LDFLAGS =\
-static
CFLAGS =\
-std=c99\
-Weverything\
-Wno-padded\
-Wno-disabled-macro-expansion\
-pedantic
ifeq (${DEBUG},1)
CFLAGS += -g
else
CFLAGS += -O2 -Werror
endif