aboutsummaryrefslogtreecommitdiffstats
path: root/gui/Makefile
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2020-06-12 18:49:09 -0400
committerClyne Sullivan <clyne@bitgloo.com>2020-06-12 18:49:09 -0400
commit876bbbec3a6bf3d02d4ab7020cc73eaa6e247e9e (patch)
treedb35b72e70f2f97e5448613f51f2f4de692a75a6 /gui/Makefile
parent5233ad146e408d05636c5e419ffe3d7806abf7a3 (diff)
have basic wxwidgets gui working
Diffstat (limited to 'gui/Makefile')
-rw-r--r--gui/Makefile10
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"