File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change
1
+ SRC = stdlib_experimental_ascii.f90 \
2
+ stdlib_experimental_error.f90 \
3
+ stdlib_experimental_io.f90 \
4
+ f18estop.f90
5
+
1
6
LIB = libstdlib.a
2
7
3
- OBJS = stdlib_experimental_ascii.o \
4
- stdlib_experimental_error.o \
5
- stdlib_experimental_io.o \
6
- f18estop.o
7
8
9
+
10
+ OBJS = $(SRC:.f90=.o)
8
11
MODS = $(OBJS:.o=.mod)
9
12
10
13
.PHONY: all clean
Original file line number Diff line number Diff line change
1
+ PROGS_SRC = test_loadtxt.f90 \
2
+ test_savetxt.f90 \
3
+ test_loadtxt_qp.f90 \
4
+ test_savetxt_qp.f90
5
+
1
6
CPPFLAGS = -I../..
2
7
LDFLAGS = -L../.. -lstdlib
3
8
4
- .PHONY: all clean test
5
9
6
- PROGS = test_loadtxt test_savetxt test_loadtxt_qp test_savetxt_qp
7
- OBJS = $(PROGS:=.o)
10
+ OBJS = $(PROGS_SRC:.f90=.o)
11
+ PROGS = $(OBJS:.o=)
12
+
8
13
9
14
15
+ .PHONY: all clean test
16
+
10
17
all: $(PROGS)
11
18
12
19
$(PROGS): %: %.o
You can’t perform that action at this time.
0 commit comments