Files
Dragorn421 a5b8a507fc Texture software fixups (#2709)
* fixup n64texconv app usage text and check u32|u64

* fix memory leaks in build_from_png

* yeet -Werror

* Remove n64texconv/ap and create build_jfif

* gitignore build_jfif binary, oops

* Makefile: Add BUILD_FROM_PNG and BUILD_JFIF variables
2026-04-12 23:40:05 +02:00

18 lines
295 B
Makefile

CFLAGS := -Wall -Wextra -O3
ifeq ($(shell $(CC) --version | grep clang),)
OMPFLAGS := -fopenmp
else
OMPFLAGS :=
endif
default: build_jfif
clean:
$(RM) build_jfif
.PHONY: default clean
build_jfif: build_jfif.c ../n64texconv/libn64texconv.a
$(CC) $(CFLAGS) -o $@ $^ $(OMPFLAGS) -lz -lm