diff --git a/site_ansto/Makefile b/site_ansto/Makefile index a53eb412..37a01457 100644 --- a/site_ansto/Makefile +++ b/site_ansto/Makefile @@ -22,6 +22,7 @@ PSI_SLIBS = matrix/libmatrix.a PSI_LIBS = \ $(LIB_TCL8) $(LIB_HDF5) -lpthread \ -ldl -lz -lm -lc $(LIB_MXML) $(LIB_JSON) +PSI_CFLAGS += -DSITE_ANSTO=1 ../%.o : ../%.c cd ..; $(CC) -c $(PSI_CFLAGS) $*.c -o $*.o