2022-12-24 05:13:42 +00:00
|
|
|
.PHONY: all clean
|
|
|
|
|
|
|
|
SRCS = main.c
|
|
|
|
|
|
|
|
ifeq ($(OS),Windows_NT)
|
|
|
|
EXE := .exe
|
|
|
|
else
|
|
|
|
EXE :=
|
|
|
|
endif
|
|
|
|
|
|
|
|
all: mgba-rom-test-hydra$(EXE)
|
|
|
|
@:
|
|
|
|
|
|
|
|
mgba-rom-test-hydra$(EXE): $(SRCS)
|
2024-10-22 13:25:46 +01:00
|
|
|
$(CC) $(SRCS) -Werror=implicit-function-declaration -o $@ -lm $(LDFLAGS)
|
2022-12-24 05:13:42 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
$(RM) mgba-rom-test-hydra$(EXE)
|