Initial (bad) gc

This commit is contained in:
2026-01-21 20:52:18 -08:00
parent 4c04e71078
commit 656846ddc0
16 changed files with 650 additions and 79 deletions

View File

@ -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)