diff options
Diffstat (limited to 'tools/aif2pcm/Makefile')
-rw-r--r-- | tools/aif2pcm/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/aif2pcm/Makefile b/tools/aif2pcm/Makefile index 77df291..dd48a87 100644 --- a/tools/aif2pcm/Makefile +++ b/tools/aif2pcm/Makefile @@ -6,12 +6,18 @@ LIBS = -lm SRCS = main.c extended.c +ifeq ($(OS),Windows_NT) +EXE := .exe +else +EXE := +endif + .PHONY: all clean -all: aif2pcm +all: aif2pcm$(EXE) @: -aif2pcm: $(SRCS) +aif2pcm$(EXE): $(SRCS) $(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS) $(LIBS) clean: |