diff --git a/makefile_slinux b/makefile_slinux index 1cf015b6..b896439b 100644 --- a/makefile_slinux +++ b/makefile_slinux @@ -15,7 +15,7 @@ include sllinux_def CC = gcc CFLAGS = -I$(HDFROOT)/include -DNXXML -DHDF4 -DHDF5 $(NI) \ - -Ipsi/hardsup -I. \ + -Ipsi/hardsup -I. -MMD \ -Werror -DCYGNUS -DNONINTF -g $(DFORTIFY) \ -Wall -Wno-unused -Wunused-value -Wno-comment -Wno-switch @@ -32,7 +32,7 @@ LIBS = -L$(HDFROOT)/lib $(SUBLIBS) $(NILIB)\ include make_gen - +-include $(OBJ:.o=.d)