fix: use gfortran to make xbap survive

This commit is contained in:
kuoi 2023-04-13 21:41:46 +08:00
parent c48a3f3964
commit 3b42fb10b0
2 changed files with 6 additions and 5 deletions

View file

@ -53,7 +53,7 @@ XLFLAGS= $(XLIBS) $(FLIBS)
LD = gfortran LD = gfortran
XLD = cc XLD = cc
LDFLAGS = -g -fdec -std=legacy LDFLAGS = -g -fdec -std=legacy -L/usr/lib -lgfortran
# #
# Avoid compilation of objects in remote directories # Avoid compilation of objects in remote directories
@ -367,7 +367,7 @@ bap: $(BAPOBJS)
$(LD) $(LDFLAGS) -o $@ $(BAPOBJS) $(LFLAGS) $(LD) $(LDFLAGS) -o $@ $(BAPOBJS) $(LFLAGS)
xbap: $(XBAPOBJS) xbap: $(XBAPOBJS)
$(XLD) $(LDFLAGS) -o $@ $(XBAPOBJS) $(XLFLAGS) $(LD) $(LDFLAGS) -o $@ $(XBAPOBJS) $(XLFLAGS)
SAP=\ SAP=\
sap.o\ sap.o\

View file

@ -28,7 +28,7 @@ INCLUDES= -I$(SRC) -I$(TEDSRC) -I$(MISCSRC)
CC= cc CC= cc
CFLAGS= -g $(INCLUDES) CFLAGS= -g $(INCLUDES)
F77= gfortran F77= gfortran
FFLAGS= -g -fdec -std=legacy -C FFLAGS= -g -fdec -std=legacy -L/usr/lib -lgfortran -C
FLIBS = -lutil -lm FLIBS = -lutil -lm
#FLIBS= -lfor -lutil -lUfor -lots -lFutil -lm #FLIBS= -lfor -lutil -lUfor -lots -lFutil -lm
@ -37,7 +37,8 @@ LFLAGS= $(FLIBS)
XLFLAGS= $(FLIBS) $(XLIBS) XLFLAGS= $(FLIBS) $(XLIBS)
LD = gfortran LD = gfortran
CLD = cc CLD = gfortran
#CLD = cc
LDFLAGS = -g # Comment out for faster linking when debugging LDFLAGS = -g # Comment out for faster linking when debugging