mirror of
https://github.com/ScrelliCopter/VGM-Tools
synced 2025-02-21 04:09:25 +11:00
rename and build as C
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
TARGET := neoadpcmextract
|
TARGET := neoadpcmextract
|
||||||
SOURCE := neoadpcmextract.cpp
|
SOURCE := neoadpcmextract.c
|
||||||
CXXFLAGS := -O2 -pipe -Wall -Wextra -pedantic
|
CFLAGS := -std=c99 -O2 -pipe -Wall -Wextra -pedantic
|
||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
$(TARGET): $(SOURCE)
|
$(TARGET): $(SOURCE)
|
||||||
$(CXX) $(CXXFLAGS) $< -o $@
|
$(CC) $(CFLAGS) $< -o $@
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
|||||||
Reference in New Issue
Block a user