1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
Author: Andreas Tille <tille@debian.org>
Last-Update: 2020-08-09
Forwarded: not-needed
Description: Build using Debian packaged libsuma
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-PREFIX=/usr/local
+PREFIX=/usr
CFLAGS=-I$(PREFIX)/include
@@ -38,7 +38,6 @@ sumatra: $(SUMATRA_OBJ)
clean:
rm -f $(SUMATRA_OBJ)
rm -f $(EXEC)
- $(MAKE) -C ./sumalibs clean
install: all
install -d $(DESTDIR)$(PREFIX)/bin/
--- a/global.mk
+++ b/global.mk
@@ -1,16 +1,16 @@
-LIBSUMAPATH = -L./sumalibs
+LIBSUMAPATH =
-LIBSUMA = ./sumalibs/libsuma.a
+LIBSUMA =
CC=gcc
LDFLAGS:=$(LDFLAGS)
ifeq ($(CC),gcc)
- CFLAGS = -O3 -s -DOMP_SUPPORT -w
+ CFLAGS += -O3 -s -DOMP_SUPPORT -w
else
- CFLAGS = -O3 -w
+ CFLAGS += -O3 -w
endif
@@ -26,5 +26,3 @@ default: all
#
########
-./sumalibs/libsuma.a:
- $(MAKE) -C ./sumalibs
|