1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/graphics/icat/files/patch-Makefile

25 lines
502 B
Plaintext

--- ./Makefile.orig 2013-04-29 11:51:10.242627983 +0200
+++ ./Makefile 2013-04-29 11:51:26.370242683 +0200
@@ -1,16 +1,16 @@
-GCC=gcc
-CCFLAGS=-Wall -pedantic -std=c99 -D_BSD_SOURCE
-LDFLAGS=-lImlib2
+CC?=gcc
+CFLAGS+=-Wall -pedantic -std=c99 -D_BSD_SOURCE
+LDFLAGS+=-lImlib2
PROG=icat
MODS=icat.o
all: $(PROG)
%.o: %.c
- $(GCC) -c $(CCFLAGS) -o $@ $<
+ $(CC) -c $(CFLAGS) -o $@ $<
$(PROG): $(MODS)
- $(GCC) -o $@ $< $(LDFLAGS)
+ $(CC) -o $@ $< $(LDFLAGS)
clean:
-rm -f $(PROG) $(MODS)