summaryrefslogtreecommitdiffstats
path: root/graphics/leafpak/files/patch-Makefile
blob: f5f6bcc9b0683904c66255e6e875b61c2992e341 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- Makefile.orig	Wed Nov 22 03:53:10 2000
+++ Makefile	Sun Oct 19 02:25:14 2003
@@ -1,13 +1,14 @@
 DEST=/usr/local/bin
-CFLAGS=-Wall
+CFLAGS?=-O -pipe
+CFLAGS+=-Wall
 
 all: leafpak leafpak2
 
 leafpak.o: leafpak.c leafpak.h
-	$(CC) -c -Wall -g leafpak.c
+	$(CC) $(CFLAGS) -c -Wall -g leafpak.c
 
 main.o: main.c leafpak.h
-	$(CC) -c -Wall -g main.c
+	$(CC) $(CFLAGS) -c -Wall -g main.c
 
 leafpak: main.o leafpak.o
 	$(CC) -o leafpak main.o leafpak.o
OpenPOWER on IntegriCloud