1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/audio/id3ren/files/patch-aa
2001-04-29 23:54:55 +00:00

27 lines
564 B
Plaintext

--- Makefile.old Wed Mar 18 04:28:44 1998
+++ Makefile Sun Feb 28 16:04:16 1999
@@ -1,16 +1,17 @@
-CFLAGS = -O2 -s -Wall
+CFLAGS += -s -Wall
-CC = gcc
RM = rm -f
-INSTALL = install -s -m 755
-INSTALL_DIR = ..
+INSTALL = install -cs -m 755 -o root -g wheel
+INSTALL_DIR = ${PREFIX}/bin
INSTALL_NAME = id3ren
SOURCES = id3ren.c id3tag.c file.c misc.c
-all:
+all: ${INSTALL_NAME}
+
+${INSTALL_NAME}:
${CC} ${CFLAGS} -o ${INSTALL_NAME} ${SOURCES}
-install: all
+install: ${INSTALL_NAME}
${INSTALL} ${INSTALL_NAME} ${INSTALL_DIR}/${INSTALL_NAME}
clean: