30 lines
823 B
Text
30 lines
823 B
Text
--- Makefile.orig Sun Jan 11 18:15:02 2009
|
|
+++ Makefile Sat Apr 10 10:38:33 2010
|
|
@@ -1,9 +1,8 @@
|
|
PKGNAME = gkrellweather
|
|
VERSION = 2.0.8
|
|
-CFLAGS = -O2 -std=gnu99 -Wall -fPIC `pkg-config gtk+-2.0 --cflags`
|
|
-LIBS = `pkg-config gtk+-2.0 --libs`
|
|
-LFLAGS = -shared
|
|
-PREFIX = /usr/local
|
|
+CFLAGS += -fPIC `pkg-config gkrellm --cflags`
|
|
+LIBS = `pkg-config gkrellm --libs`
|
|
+LFLAGS = -shared -pthread
|
|
|
|
LOCALEDIR := $(PREFIX)/share/locale
|
|
|
|
@@ -14,13 +13,11 @@ endif
|
|
CFLAGS += -DPACKAGE="\"$(PKGNAME)\""
|
|
export PKGNAME LOCALEDIR
|
|
|
|
-CC = gcc
|
|
-
|
|
OBJS = gkrellweather.o
|
|
|
|
gkrellweather.so: $(OBJS)
|
|
(cd po && ${MAKE} all )
|
|
- $(CC) $(OBJS) -DVERSION=\"$(VERSION)\" -o gkrellweather.so $(LFLAGS) $(LIBS) -lpthread
|
|
+ $(CC) $(OBJS) -DVERSION=\"$(VERSION)\" -o gkrellweather.so $(LFLAGS) $(LIBS)
|
|
|
|
clean:
|
|
(cd po && ${MAKE} clean )
|