ports/deskutils/countdown/files/patch-Makefile
Pawel Pekala 3e0659e0c5 - Update to version 20150606
- Regenerate patch with make makepatch

PR:		210845
Submitted by:	maintainer
2016-07-10 20:11:38 +00:00

23 lines
802 B
Text

--- Makefile.orig 2014-08-11 19:16:15 UTC
+++ Makefile
@@ -1,15 +1,14 @@
# Makefile for countdown
-BINDIR = /usr/local/bin
-MANDIR = /usr/local/man/man1
-CC = cc
-CFLAGS = -O -ansi -pedantic -U__STRICT_ANSI__ -Wall -Wpointer-arith -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wno-long-long
-LDFLAGS = -s
+BINDIR= /usr/local/bin
+MANDIR= /usr/local/man/man1
+CC?= cc
+CFLAGS+= -ansi -pedantic -U__STRICT_ANSI__ -Wall -Wpointer-arith -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wno-long-long
all: countdown
countdown: countdown.c
- $(CC) $(CFLAGS) countdown.c $(LDFLAGS) -o countdown
+ $(CC) $(CFLAGS) countdown.c -o countdown
install: all