pokeemerald/tools/bin2c/Makefile

14 lines
177 B
Makefile

CC = gcc
CFLAGS = -Wall -Wextra -Werror -std=c11 -O2 -s
.PHONY: clean
SRCS = bin2c.c
bin2c: $(SRCS)
$(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS)
clean:
$(RM) bin2c bin2c.exe