summaryrefslogtreecommitdiff
path: root/devel/ecgi/files/patch-html2h_Makefile
blob: 9633da73e99d30bd5f7cf15a6762fb72d46baf7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- html2h/Makefile.orig	2014-04-26 01:31:51.028376169 -0700
+++ html2h/Makefile	2014-04-26 01:38:06.265403221 -0700
@@ -1,11 +1,11 @@
-CC = gcc
+CC?= gcc
 INCS =  -I../include/ -I.
-FLAGS = -Wall
+CFLAGS += -Wall
 
 all: html2h
 
 html2h: html2h.c html2h.h
-	$(CC) html2h.c -o html2h $(INCS) $(FLAGS) ../obj/memfile.o
+	$(CC) html2h.c -o html2h $(INCS) $(CFLAGS) ../obj/memfile.o
 
 install: all
 	cp html2h /usr/bin