mirror of
https://github.com/zeldaret/oot
synced 2026-06-06 11:47:19 -04:00
a5b8a507fc
* 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
18 lines
295 B
Makefile
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
|