9fa9eb9ac7
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
22 lines
660 B
Text
22 lines
660 B
Text
--- Makefile.orig 2004-04-02 13:00:12 UTC
|
|
+++ Makefile
|
|
@@ -6,17 +6,15 @@ TARGET := xmmsctrl
|
|
VERSION := 1.8
|
|
DIRNAME := $(shell basename $(PWD))
|
|
|
|
-CC := gcc
|
|
WARN := -Wall -Wshadow -Wmissing-prototypes -W
|
|
DEFS := -DPRETTY_PRINT -D_GNU_SOURCE -DVERSION=\"$(VERSION)\"
|
|
-CFLAGS := $(WARN) -O2 $(shell xmms-config --cflags) $(DEFS)
|
|
+CFLAGS += $(WARN) $(shell xmms-config --cflags) $(DEFS)
|
|
LDFLAGS := $(shell xmms-config --libs)
|
|
|
|
-all : $(TARGET) HELP
|
|
+all : $(TARGET)
|
|
|
|
$(TARGET) : xmmsctrl.c removefile.c
|
|
$(CC) -o $(TARGET) xmmsctrl.c removefile.c $(CFLAGS) $(LDFLAGS)
|
|
- strip xmmsctrl
|
|
|
|
HELP : xmmsctrl
|
|
./xmmsctrl > HELP || true
|