diff options
author | kr3nshaw <20672068+kr3nshaw@users.noreply.github.com> | 2020-06-08 22:42:54 +1000 |
---|---|---|
committer | kr3nshaw <20672068+kr3nshaw@users.noreply.github.com> | 2020-06-08 22:42:54 +1000 |
commit | 1dd31333cf0734259f720fdcb5bbef5145d07292 (patch) | |
tree | 884eb904c62c8fbf80d2dbf5ed8a90d5ddebf5aa | |
parent | f162b8beba73c751591240c167eb75667d6eb1a0 (diff) |
Changed first line of knarc makefile
-rw-r--r-- | tools/knarc/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tools/knarc/Makefile b/tools/knarc/Makefile index 3fc47182..2e851af6 100644 --- a/tools/knarc/Makefile +++ b/tools/knarc/Makefile @@ -1,10 +1,17 @@ +CXX := g++ + +CXXFLAGS := -std=c++17 -O2 -Wall -Wno-switch -lstdc++fs + +SRCS := Source.cpp Narc.cpp +HEADERS := Narc.h + .PHONY: all clean all: knarc @: -knarc: Source.cpp Narc.cpp Narc.h - g++ Source.cpp Narc.cpp -o $@ -std=c++17 -O2 -Wall -Wno-switch -lstdc++fs +knarc: $(SRCS) $(HEADERS) + $(CXX) $(SRCS) -o $@ $(LDFLAGS) $(CXXFLAGS) clean: $(RM) knarc knarc.exe |