--- src/Makefile.in.orig	Fri Mar 16 06:15:07 2001
+++ src/Makefile.in	Sat Oct  5 00:39:47 2002
@@ -9,10 +9,10 @@
 	../libdockapp/dapixmap.c ../libdockapp/darect.c
 OBJS = $(SRCS:.c=.o)
 
-CFLAGS = -Wall -g -O2 -I. -I../libdockapp `@PATH_GTKCONFIG@ --cflags` \
+CFLAGS = @CFLAGS@ -I. -I../libdockapp `@PATH_GTKCONFIG@ --cflags gthread` \
 	`@PATH_XMMSCONFIG@ --cflags` \
 	-DDATA_DIR=\"`@PATH_XMMSCONFIG@ --data-dir`\"
-LDFLAGS = @LIBS@ -lXpm `@PATH_GTKCONFIG@ --libs` `@PATH_XMMSCONFIG@ --libs` \
+LDFLAGS = @LIBS@ -lXpm `@PATH_GTKCONFIG@ --libs gthread` `@PATH_XMMSCONFIG@ --libs` \
 	@DGA_LIBS@ @VM_LIBS@
 
 all:		wmusic
@@ -25,7 +25,7 @@
 	@INSTALL@ -c -m 755 -s wmusic $(PREFIX)/bin
 
 wmusic:		$(OBJS) $(IFLAGS)
-	gcc -g -o wmusic $(OBJS) $(LDFLAGS)
+	$(CC) -o wmusic $(OBJS) $(LDFLAGS)
 
 uninstall:	clean
 	rm -f $(PREFIX)/bin/wmusic
