taiga/Makefile
Nishi de036d46aa
All checks were successful
pyrite-dev/taiga/pipeline/head This commit looks good
add Makefile.watcom
2026-03-05 03:45:08 +09:00

21 lines
310 B
Makefile

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