Initial (bad) gc
This commit is contained in:
12
Makefile
12
Makefile
@ -1,7 +1,15 @@
|
||||
DEBUG=1
|
||||
|
||||
ifeq ($(DEBUG),1)
|
||||
DEBUG_CFLAGS=-g
|
||||
else
|
||||
DEBUG_CFLAGS=-D_NDEBUG
|
||||
endif
|
||||
|
||||
CC=gcc
|
||||
CFLAGS=-g -std=c11 -Wall -Wpedantic
|
||||
CFLAGS=$(DEBUG_CFLAGS) -std=c11 -Wall -Wpedantic -D_POSIX_C_SOURCE=199309L
|
||||
LD=gcc
|
||||
LDFLAGS=-g
|
||||
LDFLAGS=
|
||||
|
||||
SRCS:=$(wildcard src/*.c)
|
||||
OBJS:=$(SRCS:src/%.c=bin/%.o)
|
||||
|
||||
Reference in New Issue
Block a user