diff --git a/makefile_linux b/makefile_linux index 64a2c25c..46ff5bbd 100644 --- a/makefile_linux +++ b/makefile_linux @@ -10,10 +10,16 @@ #NIOBJ= nigpib.o #NILIB=-lgpibenet -include linux_def +# The variable SRC is needed for the case, where source and objects are +# separated. In the case where objects are mixed up with sources, SRC +# is assumed to be empty and does not harm. I case of problems +# please ask Markus Zolliker. + +include $(SRC)linux_def CC = gcc -CFLAGS = -I$(HDFROOT)/include -DHDF4 -DHDF5 $(NI) -Ipsi/hardsup -I. \ +CFLAGS = -I$(HDFROOT)/include -DHDF4 -DHDF5 $(NI) \ + -I$(SRC)psi/hardsup -I$(SRC). \ -fwritable-strings -DCYGNUS -DNONINTF -g $(DFORTIFY) BINTARGET = bin