diff plugins/Makefile @ 94:9f6ce50ffb78

[gaim-migrate @ 104] Woohoo, the landing of the plugins. Nearly everything necessary is here. The only thing missing is that you can't load a plugin without signing on first (at least, not without some trickery). committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 09 Apr 2000 11:18:25 +0000
parents 308d0896d979
children 247f540ea6e1
line wrap: on
line diff
--- a/plugins/Makefile	Sun Apr 09 08:25:15 2000 +0000
+++ b/plugins/Makefile	Sun Apr 09 11:18:25 2000 +0000
@@ -1,11 +1,11 @@
 CC = gcc
-CFLAGS = -Wall
-LDFLAGS = -ggdb
+CFLAGS = -Wall `gnome-config --cflags gtk` -I../src
+LDFLAGS = -ggdb `gnome-config --libs gtk` -shared
 
 all: simple.so gaiminc.so
 
 simple.so: simple.c
-	$(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname,$@ -o $@ $<
+	$(CC) $(CFLAGS) $(LDFLAGS) -Wl,-soname,$@ -o $@ $<
 
 gaiminc.so: gaiminc.c
-	$(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname,$@ -o $@ $< -I../src `gnome-config --cflags --libs gtk gnome gnomeui`
+	$(CC) $(CFLAGS) $(LDFLAGS) -Wl,-soname,$@ -o $@ $<