taiga/Makefile
NishiOwO 958a2b3334
All checks were successful
pyrite-dev/taiga/pipeline/head This commit looks good
add md4c as dep
2026-03-10 00:32:59 +09:00

23 lines
368 B
Makefile

CC ?= cc
CFLAGS ?= -I external/xemil/include -I external/md4c/src -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