Amended knarc makefile so as not to conflict with devkitARM

This commit is contained in:
kr3nshaw
2020-06-08 20:36:34 +10:00
parent c5a0d49cba
commit a7b3fd6036

View File

@@ -1,17 +1,10 @@
CXX ?= g++-9
CXXFLAGS := -std=c++17 -O2 -Wall -Wno-switch -lstdc++fs
SRCS := Source.cpp Narc.cpp
HEADERS := Narc.h
.PHONY: all clean
all: knarc
@:
knarc: $(SRCS) $(HEADERS)
$(CXX) $(SRCS) -o $@ $(LDFLAGS) $(CXXFLAGS)
knarc: Source.cpp Narc.cpp Narc.h
g++-9 Source.cpp Narc.cpp -o $@ -std=c++17 -O2 -Wall -Wno-switch -lstdc++fs
clean:
$(RM) knarc knarc.exe