pokeheartgold/tools/asmdiff/Makefile
2024-03-19 18:56:52 -04:00

20 lines
234 B
Makefile

CC := gcc
CFLAGS := -O2 -g -Wno-unused-result
ifneq ($(DEBUG),1)
CFLAGS += -DNDEBUG
endif
programs := ntrextractfile ntruncompbw
.PHONY: all clean
all: $(programs)
@:
clean:
@$(RM) $(programs)
%: %.c
$(CC) $(CFLAGS) -o $@ $<