mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-05 17:40:40 +02:00
added DEBUG flags
added REST, DEBUG description in make help
This commit is contained in:
parent
9a43fb4082
commit
3921dc2bf8
5
Makefile
5
Makefile
@ -173,6 +173,11 @@ help:
|
|||||||
@echo "make help lists possible targets"
|
@echo "make help lists possible targets"
|
||||||
@echo ""
|
@echo ""
|
||||||
@echo ""
|
@echo ""
|
||||||
|
@echo "Makefile variables"
|
||||||
|
@echo "REST=yes compile REST-aware Receiver (POCO and JsonBox libraries required)"
|
||||||
|
@echo "DEBUG=1,2 set debug level to 1 (VERBOSE) or 2 (VERYVERBOSE)"
|
||||||
|
@echo ""
|
||||||
|
@echo ""
|
||||||
@echo "Variables - to change them run <source configure> :"
|
@echo "Variables - to change them run <source configure> :"
|
||||||
@echo "INSTALLROOT=<yourdir>: installation root di r, default $PWD"
|
@echo "INSTALLROOT=<yourdir>: installation root di r, default $PWD"
|
||||||
@echo "BINDIR=<yourbin>: binary installation dir below INSTALLROOT, default bin"
|
@echo "BINDIR=<yourbin>: binary installation dir below INSTALLROOT, default bin"
|
||||||
|
@ -7,7 +7,16 @@ CXX = $(CC)
|
|||||||
ASM=$(shell echo "/lib/modules/`uname -r`/build/include")
|
ASM=$(shell echo "/lib/modules/`uname -r`/build/include")
|
||||||
LDFLAGDET = -L$(LIBDIR) -lSlsDetector -L/usr/lib64/ -lpthread
|
LDFLAGDET = -L$(LIBDIR) -lSlsDetector -L/usr/lib64/ -lpthread
|
||||||
LDFLAGRXR = -L$(LIBDIR) -lSlsReceiver -L/usr/lib64/ -lpthread
|
LDFLAGRXR = -L$(LIBDIR) -lSlsReceiver -L/usr/lib64/ -lpthread
|
||||||
FLAGS= -Wall -DVERBOSE
|
FLAGS= -Wall
|
||||||
|
# -DVERBOSE
|
||||||
|
|
||||||
|
# Setting up the verbose flags
|
||||||
|
ifeq ($(DEBUG),1)
|
||||||
|
FLAGS = -Wall -DVERBOSE
|
||||||
|
endif
|
||||||
|
ifeq ($(DEBUG),2)
|
||||||
|
FLAGS = -Wall -DVERYVERBOSE
|
||||||
|
endif
|
||||||
|
|
||||||
##############################################################
|
##############################################################
|
||||||
# EigerSLS specific. Set this to yes, if you want to compile
|
# EigerSLS specific. Set this to yes, if you want to compile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user