pokeemerald/tools/gbafix/Makefile

20 lines
211 B
Makefile
Raw Normal View History

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