4096
|
1 diff -ur fits-1.0.7.orig/src/Makefile fits-1.0.7/src/Makefile |
|
2 --- fits-1.0.7.orig/src/Makefile 2016-02-25 13:08:47.394452025 -0500 |
|
3 +++ fits-1.0.7/src/Makefile 2016-02-25 13:10:40.437730825 -0500 |
3854
|
4 @@ -1,4 +1,6 @@ |
4096
|
5 -MKOCT_FLAGS = $(shell pkg-config --libs cfitsio --cflags cfitsio) |
3854
|
6 +MKOCTFILE ?= mkoctfile |
|
7 +PKG_CONFIG ?= pkg-config |
4096
|
8 +MKOCT_FLAGS = $(shell $(PKG_CONFIG) --libs cfitsio --cflags cfitsio) |
3854
|
9 |
|
10 all: read_fits_image.oct save_fits_image.oct save_fits_image_multi_ext.oct |
|
11 |
|
12 @@ -6,5 +8,5 @@ |
|
13 rm -f *.oct *.o |
|
14 |
|
15 %.oct: %.cc |
|
16 - mkoctfile --verbose -Wall $(MKOCT_FLAGS) $< |
|
17 + $(MKOCTFILE) --verbose -Wall $(MKOCT_FLAGS) $< |
|
18 |