mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-10 14:01:52 -05:00
21 lines
241 B
Makefile
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)
|