Import existing OSILAP source code

This commit is contained in:
大窪 貴洋
2026-06-30 08:59:47 +09:00
commit 91f87cafa0
12 changed files with 2400 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
CC = gcc-mp-14
FC = gfortran-mp-14
CFLAGS = -O2 -Wall
LIBS = libopenblas-mac.a -lpthread \
-static-libgfortran \
-static-libgcc \
-static-libquadmath
LDFLAGS =
OBJS = ilt.o nnls.o command.o output.o input.o BRDnewton_modify.o alpha_loop.o
PROGRAM = osilap
all: $(PROGRAM)
$(PROGRAM): $(OBJS)
$(FC) $(OBJS) $(LDFLAGS) $(LIBS) -o $(PROGRAM)
clean:
rm -f *.o *~ $(PROGRAM)
install: $(PROGRAM)
install -s $(PROGRAM) $(DEST)