2019-08-07 00:30:57 +01:00
|
|
|
CC ?= gcc
|
2019-07-23 21:17:00 +01:00
|
|
|
.PHONY: all clean
|
2018-08-30 05:08:57 +01:00
|
|
|
|
|
|
|
SRCS = gbafix.c
|
|
|
|
|
2020-12-17 02:24:44 +00:00
|
|
|
ifeq ($(OS),Windows_NT)
|
|
|
|
EXE := .exe
|
|
|
|
else
|
|
|
|
EXE :=
|
|
|
|
endif
|
|
|
|
|
|
|
|
all: gbafix$(EXE)
|
2019-07-23 21:17:00 +01:00
|
|
|
@:
|
|
|
|
|
2020-12-17 02:24:44 +00:00
|
|
|
gbafix$(EXE): $(SRCS)
|
2018-08-30 05:08:57 +01:00
|
|
|
$(CC) $(SRCS) -o $@ $(LDFLAGS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
$(RM) gbafix gbafix.exe
|