mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-06 18:10:40 +02:00
makefile fixed for asm includes
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@405 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
parent
11e2fafac3
commit
82f672299b
@ -1,9 +1,18 @@
|
||||
CFLAGS= -DC_ONLY
|
||||
#FLAGS=-DVERBOSE
|
||||
INCLUDES= -I../slsDetectorSoftware/commonFiles -I../slsDetectorSoftware/slsDetector -I ../slsDetectorSoftware/MySocketTCP -I../slsDetectorSoftware/usersFunctions -I../slsDetectorSoftware/multiSlsDetector -I../slsDetectorSoftware/slsDetectorAnalysis -I../slsDetectorSoftware/slsReceiverInterface
|
||||
ASM=$(shell echo "/lib/modules/`uname -r`/build/include")
|
||||
|
||||
INCLUDES= -I../slsDetectorSoftware/commonFiles -I../slsDetectorSoftware/slsDetector -I ../slsDetectorSoftware/MySocketTCP -I../slsDetectorSoftware/usersFunctions -I../slsDetectorSoftware/multiSlsDetector -I../slsDetectorSoftware/slsDetectorAnalysis -I../slsDetectorSoftware/slsReceiverInterface -I$(ASM)
|
||||
LIBS= -L../slsDetectorSoftware/ -lSlsDetector -L/usr/lib64/ -lpthread
|
||||
#LDFLAG=
|
||||
|
||||
|
||||
|
||||
INCLUDES= -I../slsDetectorSoftware/commonFiles -I../slsDetectorSoftware/slsDetector -I ../slsDetectorSoftware/MySocketTCP -I../slsDetectorSoftware/usersFunctions -I../slsDetectorSoftware/multiSlsDetector -I../slsDetectorSoftware/slsDetectorAnalysis -I../slsDetectorSoftware/slsReceiverInterface -I$(shell echo "/lib/modules/`uname -r`/build/include")
|
||||
|
||||
LIBS= -L../slsDetectorSoftware/ -lSlsDetector -lpthread
|
||||
|
||||
|
||||
BIN=bin
|
||||
|
||||
SRC_CLNT=sls_detector_client.cpp
|
||||
@ -56,14 +65,10 @@ sls_detector_help: $(SRC_CLNT) lib
|
||||
$(CXX) -o $(BIN)/sls_detector_help $(SRC_CLNT) $(FLAGS) $(INCLUDES) -DHELP $(LIBS) $(LDFLAG)
|
||||
|
||||
|
||||
|
||||
clean:
|
||||
rm -rf $(BIN)/sls_detector_put sls_detector_get sls_detector_acquire sls_detector_help
|
||||
|
||||
|
||||
install_doc:
|
||||
|
||||
|
||||
|
||||
|
||||
install: all
|
||||
|
Loading…
x
Reference in New Issue
Block a user