mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 11:37:40 +01:00
20 lines
211 B
Makefile
20 lines
211 B
Makefile
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
|