freebsd-ports/deskutils/countdown/files/patch-Makefile
Rodrigo Osorio 22c4f6555c Add new port : countdown, who counts down a specific delay, beep,
and exit.

PR:		ports/193978
Submitted by:	neel@neelc.org
2014-12-26 13:57:53 +00:00

23 lines
850 B
Text

--- Makefile.orig 2014-08-11 15:16:15.000000000 -0400
+++ Makefile 2014-09-29 11:58:53.471412866 -0400
@@ -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