Try to work

This commit is contained in:
Shawn Chain 2018-10-05 12:40:34 +08:00
parent 5e86cdb93a
commit 67e45b1bf1
4 changed files with 18 additions and 27 deletions

View file

@ -15,6 +15,7 @@
#define DStarDefines_H
#include <wx/wx.h>
#include "GlobalDefines.h"
const unsigned int DSTAR_GMSK_SYMBOL_RATE = 4800U;
const float DSTAR_GMSK_BT = 0.5F;

11
GlobalDefines.h Normal file
View file

@ -0,0 +1,11 @@
#ifndef __GLOBAL_DEFS__
#define __GLOBAL_DEFS__
#ifndef DATA_DIR
#define DATA_DIR "/etc/mmdvm/ircddbgateway"
#define LOG_DIR "/var/log/mmdvm"
#define CONF_DIR "/etc"
#define BIN_DIR "/usr/bin"
#endif
#endif

View file

@ -1,4 +1,9 @@
include common.mk
# CXX := $(shell wx-config --cxx)
# CFLAGS := -O2 -Wall $(shell wx-config --cxxflags) -DLOG_DIR='$(LOGDIR)' -DCONF_DIR='$(CONFDIR)' -DDATA_DIR='$(DATADIR)'
# GUILIBS := $(shell wx-config --libs adv,core,base)
# LIBS := $(shell wx-config --libs base)
# LDFLAGS :=
all: ircDDBGateway/ircddbgatewayd

View file

@ -1,26 +0,0 @@
# Add -DDCS_LINK to the end of the CFLAGS line below to add DCS linking to StarNet
# Add -DDEXTRA_LINK to the end of the CFLAGS line below to add DExtra linking to StarNet
DATADIR := "/etc/mmdvm/ircddbgateway"
LOGDIR := "/var/log/mmdvm"
CONFDIR := "/etc"
BINDIR := "/usr/bin"
CFLAGS += -DLOG_DIR='$(LOGDIR)' -DCONF_DIR='$(CONFDIR)' -DDATA_DIR='$(DATADIR)'
LIBS +=
LDFLAGS :=
# else
# DATADIR := "/usr/share/ircddbgateway"
# LOGDIR := "/var/log"
# CONFDIR := "/etc"
# BINDIR := "/usr/bin"
# CXX := $(shell wx-config --cxx)
# CFLAGS := -O2 -Wall $(shell wx-config --cxxflags) -DLOG_DIR='$(LOGDIR)' -DCONF_DIR='$(CONFDIR)' -DDATA_DIR='$(DATADIR)'
# GUILIBS := $(shell wx-config --libs adv,core,base)
# LIBS := $(shell wx-config --libs base)
# LDFLAGS :=
# endif