tumbledemerald-legacy/tools/gbafix/Makefile

20 lines
211 B
Makefile
Raw Normal View History

2022-05-19 19:14:13 +02:00
CC ?= gcc
.PHONY: all clean
SRCS = gbafix.c
ifeq ($(OS),Windows_NT)
EXE := .exe
else
EXE :=
endif
all: gbafix$(EXE)
@:
gbafix$(EXE): $(SRCS)
$(CC) $(SRCS) -o $@ $(LDFLAGS)
clean:
$(RM) gbafix gbafix.exe