diff options
Diffstat (limited to 'gui/Makefile')
-rw-r--r-- | gui/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gui/Makefile b/gui/Makefile index 419ed33..7cb0315 100644 --- a/gui/Makefile +++ b/gui/Makefile @@ -1,13 +1,17 @@ -CXX = clang++-10 -CXXFLAGS = --std=c++20 -Wall -Wextra -pedantic +CXX = g++-10 +CXXFLAGS = --std=c++20 \ + -Wall -Wextra -pedantic \ + -Wno-deprecated-copy \ + $(shell wx-config --cxxflags) CXXFILES = $(wildcard *.cpp) +LIBS = $(shell wx-config --libs) OUTELF = stmdspgui all: $(CXXFILES) @echo " CXX " $(CXXFILES) - @$(CXX) $(CXXFLAGS) $(CXXFILES) -o $(OUTELF) + @$(CXX) $(CXXFLAGS) $(CXXFILES) $(LIBS) -o $(OUTELF) clean: @echo " CLEAN" |