mirror of
https://git.freebsd.org/ports.git
synced 2025-06-16 02:00:30 -04:00
31 lines
778 B
Text
31 lines
778 B
Text
--- ./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
|