taiga/Makefile
NishiOwO 38ed0f4910
All checks were successful
pyrite-dev/taiga/pipeline/head This commit looks good
wip markdown-dir
2026-03-10 03:59:18 +09:00

23 lines
384 B
Makefile

CC ?= cc
CFLAGS ?= -I external/xemil/include -I external/md4c/src -I external/stb -I src $(DEFS)
LDFLAGS ?=
LIBS ?=
AFTER ?=
E ?=
.PHONY: all format clean
all: taiga$(E)
include objs.mk
taiga$(E): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
$(AFTER)
format:
clang-format --verbose -i `find src -name "*.c" -or -name "*.h"`
clean:
rm -f src/*.o src/*.res taiga taiga.exe