Commit c0f5d01a authored by YannGarcia's avatar YannGarcia
Browse files

Enhance Makefile with variable for compiler options

parent e3fc75f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -115,7 +115,7 @@ $(outdir)/.generate: Makefile $(tt_sources)
	$(foreach F, $(wildcard ttcn/patch_sip_titan/*.ttcn), cp $(F) ttcn/LibSip/ttcn;)
	$(foreach F, $(wildcard ttcn/patch_lib_common_titan/ttcn/*.ttcn), cp $(F) ttcn/LibCommon/ttcn;)
	$(foreach F, $(wildcard ttcn/patch_lib_http/*.ttcn), cp $(F) ttcn/LibIts/ttcn/Http;)
	$(TTCN3_DIR)/bin/compiler -b -d -e -f -g -l -L -M -O -R -U none -o $(outdir) $(tt_sources)
	$(TTCN3_DIR)/bin/compiler $(TTCN3_COMPILER_OPTIONS) -o $(outdir) $(tt_sources)
	touch $@

$(foreach S, $(ttcn_sources),  $(eval $(outdir)/$(notdir $(patsubst %.ttcn, %.cc,  $(S))): $(S)))
+3 −2
Original line number Diff line number Diff line
#TTCN3_DIR      := /cygdrive/c/Tools/Titan
#WPCAP_DLL_PATH := /cygdrive/c/windows/system32/npcap/wpcap.dll
TTCN3_COMPILER_OPTIONS := -b -d -e -f -g -l -L -M -O -R -U none
TTCN3_DIR      := $(HOME)/frameworks/titan/titan.core/Install
ASN1C_PATH     := $(HOME)/frameworks/asn1c.denis#WPCAP_DLL_PATH := /cygdrive/c/windows/system32/npcap/wpcap.dll
#NPCAP_INCLUDE  := /cygdrive/c/PROGRA~1/Npcap/sdk/include
OSIP_INCLUDE=$(HOME)/frameworks/osip/include
OSIP_LIB=$(HOME)/frameworks/osip/src/osipparser2/.libs
Original line number Diff line number Diff line
Subproject commit 2645a5245082506a64acc58e7c2c7ac5c5bc4c3a
Subproject commit 5194450f739680aa9a5d516f8c3c3f3b7a782773