pokefirered/tools/trainerproc/Makefile
2024-08-28 12:33:20 +02:00

21 lines
241 B
Makefile

.PHONY: all clean
CFLAGS := -Wall -O2
SRCS := main.c
ifeq ($(OS),Windows_NT)
EXE := .exe
else
EXE :=
endif
all: trainerproc$(EXE)
@:
trainerproc$(EXE): $(SRCS)
$(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS)
clean:
$(RM) trainerproc$(EXE)