mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
6e5d875894
Rename is a quick and powerful tool written in C, featuring extended regular expression support for searching and substituting pattern strings in filenames. Rename can rename, convert to lowercase/uppercase, and change the ownership of a large number of files. WWW: http://rename.berlios.de/ PR: ports/83314 Submitted by: Chad Castleberry <crcastle@ius.edu>
34 lines
729 B
Plaintext
34 lines
729 B
Plaintext
--- Makefile.in.orig Tue Jul 12 04:27:47 2005
|
|
+++ Makefile.in Tue Jul 12 09:40:39 2005
|
|
@@ -8,7 +8,7 @@
|
|
MANDIR = @prefix@/man/man1
|
|
|
|
DEFINES = -DHAVE_CONFIG_H ${VERSION}
|
|
-CFLAGS = -Wall -O3 ${DEBUG} ${DEFINES}
|
|
+CFLAGS += -Wall ${DEBUG} ${DEFINES}
|
|
|
|
|
|
OBJS = rename.o fixtoken.o misc.o @LIBOBJS@
|
|
@@ -16,7 +16,7 @@
|
|
all: rename
|
|
|
|
rename: $(OBJS)
|
|
- $(CC) $(CFLAGS) -o $@ $^
|
|
+ $(CC) $(CFLAGS) @LDFLAGS@ -o $@ $^
|
|
strip $@
|
|
|
|
static: $(OBJS)
|
|
@@ -32,9 +32,11 @@
|
|
install:
|
|
install -o root -g wheel -m 0755 -s rename $(BINDIR)
|
|
install -o root -g wheel -m 0644 rename.1 $(MANDIR)
|
|
-
|
|
+
|
|
rename.o: rename.c rename.h
|
|
regex.o: regex.c regex.h
|
|
fixtoken.o: fixtoken.c
|
|
misc.o: misc.c
|
|
|
|
+.c.o:
|
|
+ $(CC) $(CFLAGS) @CPPFLAGS@ -o $@ -c $<
|