blob: f734be4961e0ab6df7920a6f2e7fcda4f416381f (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
diff -urNd ../gsoko-0.4.2-gpe5-r0/gsoko-0.4.2-gpe5/Makefile gsoko-0.4.2-gpe5/Makefile
--- ../gsoko-0.4.2-gpe5-r0/gsoko-0.4.2-gpe5/Makefile 2004-09-18 00:03:00.000000000 +0100
+++ gsoko-0.4.2-gpe5/Makefile 2004-09-20 20:14:46.000000000 +0100
@@ -1,16 +1,21 @@
-PACKAGE_CFLAGS = -Wall $(GPECFLAGS) $(GTKCFLAGS) -DPREFIX=\"$(PREFIX)\"
+PACKAGE_CFLAGS += $(STANDARD_CFLAGS) $(GPECFLAGS) $(GTKCFLAGS) -DPREFIX=\"$(PREFIX)\"
+PACKAGE_LDFLAGS += $(STANDARD_LDFLAGS) $(GPELIBS)
OBJS = control.o game.o gfx.o gsoko.o init.o interface.o move.o
VERSION = 0.4.2-gpe6
PACKAGE = gsoko
-PREFIX = /usr/local
-BUILD = ../../base/build
+PREFIX = /usr
+ifeq ($(CVSBUILD),yes)
+BUILD = ../build
+else
+BUILD = build
+endif
all: gsoko
gsoko: $(OBJS)
- $(CC) $(CFLAGS) $(PACKAGE_CFLAGS) -o $@ $(OBJS) `pkg-config --libs gtk+-2.0`
+ $(CC) $(CFLAGS) $(PACKAGE_CFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(PACKAGE_LDFLAGS)
clean:
rm -f *.o
Index: Makefile
===================================================================
--- a/Makefile (Revision 9905)
+++ b/Makefile (Arbeitskopie)
@@ -29,7 +29,7 @@
install-program: gsoko gsoko.desktop
install -d $(DESTDIR)$(PREFIX)/bin
- install -s gsoko $(DESTDIR)$(PREFIX)/bin/gsoko
+ install gsoko $(DESTDIR)$(PREFIX)/bin/gsoko
install -d $(DESTDIR)$(PREFIX)/share/gsoko/img
install -d $(DESTDIR)$(PREFIX)/share/gsoko/levels
for i in $(LEVELS); do install -m 644 levels/$$i.lev $(DESTDIR)$(PREFIX)/share/gsoko/levels/$$i.lev; done
|