diff options
Diffstat (limited to 'tools/gbafix/Makefile')
-rw-r--r-- | tools/gbafix/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/gbafix/Makefile b/tools/gbafix/Makefile index 91a60a9..efb016c 100644 --- a/tools/gbafix/Makefile +++ b/tools/gbafix/Makefile @@ -3,10 +3,16 @@ CC ?= gcc SRCS = gbafix.c -all: gbafix +ifeq ($(OS),Windows_NT) +EXE := .exe +else +EXE := +endif + +all: gbafix$(EXE) @: -gbafix: $(SRCS) +gbafix$(EXE): $(SRCS) $(CC) $(SRCS) -o $@ $(LDFLAGS) clean: |