diff --git a/contrib/samples/stc/makefile.g95 b/contrib/samples/stc/makefile.g95 index 9c8a7efe29..6ce1cd82c8 100644 --- a/contrib/samples/stc/makefile.g95 +++ b/contrib/samples/stc/makefile.g95 @@ -8,7 +8,7 @@ WXDIR = ../../.. TARGET = stctest OBJECTS = $(TARGET).o EXTRAINC = -I$(WXDIR)/contrib/include -EXTRALIBS = -lstc +PREEXTRALIBS = -lstc include $(WXDIR)/src/makeprog.g95 diff --git a/samples/stc/makefile.g95 b/samples/stc/makefile.g95 index 9c8a7efe29..6ce1cd82c8 100644 --- a/samples/stc/makefile.g95 +++ b/samples/stc/makefile.g95 @@ -8,7 +8,7 @@ WXDIR = ../../.. TARGET = stctest OBJECTS = $(TARGET).o EXTRAINC = -I$(WXDIR)/contrib/include -EXTRALIBS = -lstc +PREEXTRALIBS = -lstc include $(WXDIR)/src/makeprog.g95