# Makefile-include # # Build the Digital Voice software on Linux with default settings (x86) # export BINDIR := "/usr/local/bin" export DATADIR := "/usr/local/etc" export DESKTOPDIR := "/usr/local/share/applications" export PNGDIR := "/usr/local/share/pixmaps" # # Change your architecture here # # export ARCH := pentium #export ARCH := x86-64 export ARCH := armv8-a export CC := $(shell wx-config --debug=no --cxx) export LIBS := -lportaudio -lusb-1.0 $(shell wx-config --debug=no --libs adv,core) export CFLAGS := -g -O2 -Wall -Wno-non-virtual-dtor -Wno-strict-aliasing -march=$(ARCH) -DDATA_DIR='$(DATADIR)' -DBIN_DIR='$(BINDIR)' $(shell wx-config --debug=no --cxxflags) -DwxDEBUG_LEVEL=0 -DNDEBUG export LDFLAGS := -g