summaryrefslogtreecommitdiff
path: root/graphics/jbigkit/files/patch-Makefile
blob: 08cec0f9f5724c7e79ede5753a2fa5ab25662052 (plain) (blame)
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
--- ./Makefile.orig	2014-03-27 18:47:15.000000000 +0000
+++ ./Makefile	2014-06-21 22:53:57.000000000 +0000
@@ -1,24 +1,22 @@
 # Unix makefile for JBIG-KIT
 
 # Select an ANSI/ISO C compiler here, GNU gcc is recommended
-CC = gcc
+#CC = gcc
 
 # Options for the compiler: A high optimization level is suggested
-CFLAGS = -O2 -W -Wno-unused-result
+CFLAGS += -W # -Wno-unused-result -- older compilers don't have this
 # CFLAGS = -O -g -W -Wall -Wno-unused-result -ansi -pedantic # -DDEBUG
 
-export CC CFLAGS
-
 VERSION=2.1
 
 all: lib pbm
 	@echo "Enter 'make test' in order to start some automatic tests."
 
 lib:
-	cd libjbig && $(MAKE) -e
+	cd libjbig && $(MAKE)
 
 pbm: lib
-	cd pbmtools && $(MAKE) -e
+	cd pbmtools && $(MAKE)
 
 test: lib pbm
 	cd libjbig  && $(MAKE) test