diff --git a/neotools/neoadpcmextract.Makefile b/neotools/neoadpcmextract.Makefile index 49c673b..a73fd7b 100644 --- a/neotools/neoadpcmextract.Makefile +++ b/neotools/neoadpcmextract.Makefile @@ -1,11 +1,11 @@ TARGET := neoadpcmextract -SOURCE := neoadpcmextract.cpp -CXXFLAGS := -O2 -pipe -Wall -Wextra -pedantic +SOURCE := neoadpcmextract.c +CFLAGS := -std=c99 -O2 -pipe -Wall -Wextra -pedantic all: $(TARGET) $(TARGET): $(SOURCE) - $(CXX) $(CXXFLAGS) $< -o $@ + $(CC) $(CFLAGS) $< -o $@ .PHONY: clean clean: diff --git a/neotools/neoadpcmextract.cpp b/neotools/neoadpcmextract.c similarity index 100% rename from neotools/neoadpcmextract.cpp rename to neotools/neoadpcmextract.c