We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fda7a0f commit 3392477Copy full SHA for 3392477
src/tests/loadtxt/Makefile.manual
@@ -9,21 +9,21 @@ LDFLAGS = -L../.. -lstdlib
9
10
OBJS = $(PROGS_SRC:.f90=.o)
11
PROGS = $(OBJS:.o=)
12
+TESTPROGS = $(PROGS:=TEST)
13
14
15
-.PHONY: all clean test
16
+.PHONY: all clean test $(TESTPROGS)
17
18
all: $(PROGS)
19
20
$(PROGS): %: %.o
21
$(FC) $(FFLAGS) $(CPPFLAGS) -o $@ $^ $(LDFLAGS)
22
-test:
23
- ./test_loadtxt
24
- ./test_loadtxt_qp
25
- ./test_savetxt
26
- ./test_savetxt_qp
+test: $(TESTPROGS)
+
+$(TESTPROGS):
+ ./$(@:TEST=)
27
28
clean:
29
$(RM) $(PROGS) $(OBJS) tmp.dat tmp_qp.dat
0 commit comments