summaryrefslogtreecommitdiff
path: root/tools/aif2pcm
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2020-12-16 15:10:01 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2020-12-16 15:10:01 -0500
commit936ba7f1bf492a805596716660cd751e35fc74cd (patch)
tree335567b37e532c375b8d8b7cd446c79aee96fb24 /tools/aif2pcm
parent34fc9789c9d11464161aabf022eb270597c6778a (diff)
Apply all source related changes for the new INSTALL.md in one commit.
For people who want to have dkPless builds in their repo.
Diffstat (limited to 'tools/aif2pcm')
-rw-r--r--tools/aif2pcm/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/aif2pcm/Makefile b/tools/aif2pcm/Makefile
index 77df29152..dd48a8759 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: