Changed first line of knarc makefile

This commit is contained in:
kr3nshaw
2020-06-08 22:42:54 +10:00
parent f162b8beba
commit 1dd31333cf

View File

@@ -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