summaryrefslogtreecommitdiff
path: root/audio/gtkmserv/patches/patch-aa
blob: ae37b4afc3918fa151912403b30b1d1f297a8fd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-aa,v 1.4 2004/06/12 01:20:57 grant Exp $

--- Makefile.in.orig	2001-01-30 13:20:31.000000000 +1100
+++ Makefile.in
@@ -1,4 +1,4 @@
-CC = gcc -Wall -ggdb
+# CC = gcc -Wall -ggdb
 LIBS = `gtk-config --libs`
 LIBS_DEBUG = -lefence
 CFLAGS = `gtk-config --cflags`
@@ -9,11 +9,11 @@ SRCS = main.c  menu.c  mserv.c  on.c  se
 OBJS = main.o  menu.o  mserv.o  on.o  setup.o  utils.o  window.o  album.o \
        queue.o
 .c.o:
-	$(CC) $(CFLAGS) -c $<
+	$(CC) $(CPPFLAGS) $(CFLAGS) -c $<
 
 all:	$(OBJS)
-	$(CC) $(LIBS) -o gtkMserv $(OBJS)
+	$(CC) $(CFLAGS) $(LDFLAGS) $(LIBS) -o gtkMserv $(OBJS)
 
 clean: 
 	rm *.o
-	rm core
\ No newline at end of file
+	rm core