2dafeb611f
Dpic is a simple language, derived from pic and gpic, to produce diagrams for LaTeX documents. It is particularly suited for easily creating line diagrams such as electric circuits. Some tweaks added to obey CC/CFLAGS, and install examples. ok jasper@
16 lines
416 B
Plaintext
16 lines
416 B
Plaintext
$OpenBSD: patch-Makefile,v 1.1.1.1 2011/05/15 18:49:41 landry Exp $
|
|
Honour CC and CFLAGS
|
|
--- Makefile.orig Sun May 15 20:37:54 2011
|
|
+++ Makefile Sun May 15 20:38:31 2011
|
|
@@ -44,8 +44,8 @@ DEST = ${DESTDIR}/${PREFIX}/bin
|
|
# CC=xlc
|
|
|
|
# other. cc usually works too.
|
|
-CFLAGS = $(DEFINEA) $(DEFINEB) $(SAFEMODE) -O
|
|
-CC=gcc
|
|
+CFLAGS += $(DEFINEA) $(DEFINEB) $(SAFEMODE) -O
|
|
+CC?=gcc
|
|
|
|
OBJECTS = dpic.o dpic2.o p2clib.o
|
|
|