diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2022-04-30 08:41:56 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2022-04-30 08:42:45 -0400 |
commit | e164629b3839eee0fda0be0e0a9842e78cf02f2b (patch) | |
tree | b72b58665b85a104e5b953af45f00579341b2802 /gui/Makefile | |
parent | 162dd6de8a0d883962b0b1475f47cbb08e0958d4 (diff) | |
parent | 3dd57491b1e81a9d93054eff19ca0e6c65c85b9b (diff) |
merge in branch devel
Diffstat (limited to 'gui/Makefile')
-rw-r--r-- | gui/Makefile | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/gui/Makefile b/gui/Makefile deleted file mode 100644 index e06a740..0000000 --- a/gui/Makefile +++ /dev/null @@ -1,66 +0,0 @@ -UNAME := $(shell uname) - -ifeq ($(UNAME), Linux) - RM = rm -f -else - RM = del -endif - -CXX = g++-10 -CXXFLAGS = --std=c++20 -ggdb -O0 \ - -Wall -Wextra -pedantic \ - -Wno-deprecated-copy \ - -Iserial/include -IMETL/include -IMETL/dependencies/PEGTL/include - -ifeq ($(UNAME), Linux) -CXXFLAGS += $(shell wx-config --cxxflags) -else -CXXFLAGS += -IC:\wx\include -DSTMDSP_WIN32 -Wa,-mbig-obj -endif - -ifeq ($(UNAME), Linux) -CXXFILES = serial/src/serial.cc \ - serial/src/impl/unix.cc \ - serial/src/impl/list_ports/list_ports_linux.cc \ - $(wildcard *.cpp) -else -CXXFILES = serial/src/serial.cc \ - serial/src/impl/win.cc \ - serial/src/impl/list_ports/list_ports_win.cc \ - $(wildcard *.cpp) -endif -OFILES = $(patsubst %.cc, %.o, $(patsubst %.cpp, %.o, $(CXXFILES))) - -ifeq ($(UNAME), Linux) -LIBS = $(shell wx-config --libs) -lwx_gtk3u_stc-3.1 -else -LIBS = -lSetupAPI \ - -LC:\wx\lib\gcc810_x64_dll -lwxbase31u -lwxmsw31u_core -lwxmsw31u_stc -endif - -OUTELF = stmdspgui - -ifeq ($(UNAME), Linux) -CLEANFILES = $(OUTELF) $(OFILES) -else -CLEANFILES = $(subst /,\\,$(OUTELF)) $(subst /,\\,$(OFILES)) -endif - -all: $(OUTELF) - -$(OUTELF): $(OFILES) - @echo " CXX " $(OUTELF) - @$(CXX) $(CXXFLAGS) $(OFILES) $(LIBS) -o $(OUTELF) - -.cc.o: - @echo " CXX " $< - @$(CXX) $(CXXFLAGS) -c $< -o $@ - -.cpp.o: - @echo " CXX " $< - @$(CXX) $(CXXFLAGS) -c $< -o $@ - -clean: - @echo " CLEAN" - @$(RM) $(CLEANFILES) - |