23 lines
1 KiB
Text
23 lines
1 KiB
Text
--- Makefile.orig 2021-02-07 10:20:06 UTC
|
|
+++ Makefile
|
|
@@ -9,7 +9,7 @@ LDLIBS =
|
|
INCLUDES =
|
|
|
|
# Create a simple test-program to check if gcc can compile with curl
|
|
-tmpfile:=$(shell mktemp --suffix=.c)
|
|
+tmpfile:=$(shell mktemp)
|
|
$(file >$(tmpfile),#include <curl/curl.h>)
|
|
$(file >>$(tmpfile),int main() { return 0; })
|
|
HAVE_CURL:=$(shell $(CC) $(CFLAGS) $(EXTRA_CFLAGS_PIC) $(LIBS) -lcurl $(tmpfile) -o /dev/null >/dev/null 2>&1 && echo "YES")
|
|
@@ -87,7 +87,7 @@ clean:
|
|
rm -f *.o libBigWig.a libBigWig.so *.pico test/testLocal test/testRemote test/testWrite test/exampleWrite test/testRemoteManyContigs test/testBigBed test/testIterator example_output.bw
|
|
|
|
install: libBigWig.a libBigWig.so
|
|
- install -d $(prefix)/lib $(prefix)/include
|
|
- install libBigWig.a $(prefix)/lib
|
|
- install libBigWig.so $(prefix)/lib
|
|
- install *.h $(prefix)/include
|
|
+ install -d $(prefix)/lib $(DESTDIR)$(prefix)/include
|
|
+ install libBigWig.a $(DESTDIR)$(prefix)/lib
|
|
+ install libBigWig.so $(DESTDIR)$(prefix)/lib
|
|
+ install *.h $(DESTDIR)$(prefix)/include
|