summaryrefslogtreecommitdiff
blob: 5c802256022098e1441ae0852b9522392e6d4441 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- wcslib-7.7/Fortran/GNUmakefile
+++ wcslib-7.7/Fortran/GNUmakefile
@@ -171,8 +171,8 @@
 	-@ echo ''
 	   $(FC) $(FFLAGS) -c $<
 
-%.fits : ../C/test/%.keyrec tofits
-	   ./tofits < $< > $@
+%.fits : ../C/test/%.keyrec ../utils/tofits
+	   ../utils/tofits < $< > $@
 
 run_% : %
 	-@ echo ''
@@ -361,7 +361,7 @@
 	-@ echo ''
 	   $(MAKE) -C ../pgsbox lib
 
-tofits : ../C/test/tofits.c
+../utils/tofits : ../utils/tofits.c
 	   $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $<
 
 ../C/wcstab.fits : ;