pokeemerald/tools/gbafix/Makefile

20 lines
211 B
Makefile
Raw Permalink Normal View History

CC ?= gcc
2019-07-23 20:17:00 +00:00
.PHONY: all clean
2018-08-30 04:08:57 +00:00
SRCS = gbafix.c
ifeq ($(OS),Windows_NT)
EXE := .exe
else
EXE :=
endif
all: gbafix$(EXE)
2019-07-23 20:17:00 +00:00
@:
gbafix$(EXE): $(SRCS)
2018-08-30 04:08:57 +00:00
$(CC) $(SRCS) -o $@ $(LDFLAGS)
clean:
$(RM) gbafix gbafix.exe