blob: 2248c3e5c2c7ab522664462b92c110e7e943a11a (
plain) (
blame)
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
|
--- Makefile.orig Thu May 8 08:41:13 2003
+++ Makefile Mon Jun 23 22:44:18 2003
@@ -1,16 +1,16 @@
-FREETYPE_BASE=/usr
-FREETYPE_INCL=$(FREETYPE_BASE)/include/freetype2
+FREETYPE_BASE=/usr/local
+FREETYPE_INCL=-I$(FREETYPE_BASE)/include/freetype2 -I$(FREETYPE_BASE)/include
FREETYPE_LIB=$(FREETYPE_BASE)/lib
-prefix=/usr
+prefix=/usr/local
CC=gcc
-CFLAGS=$(RPM_OPT_FLAGS) -Wall -pedantic -I$(FREETYPE_INCL)
+CFLAGS=$(RPM_OPT_FLAGS) -Wall -pedantic $(FREETYPE_INCL)
LDFALGS=-L$(FREETYPE_LIB) -lfreetype -lz
all: xttmgr
xttmgr: xttmgr.o
- $(CC) -o $@ $< $(LDFALGS)
+ $(CC) -o $@ xttmgr.o $(LDFALGS)
xttmgr.o: xttmgr.c
@@ -18,7 +18,7 @@
-rm -f *.o core xttmgr
install:
- -install -s -m 755 xttmgr $(DESTDIR)$(prefix)/sbin/xttmgr
+ -install -s -m 755 xttmgr $(DESTDIR)$(prefix)/bin/xttmgr
uninstall:
-rm -f /usr/sbin/xttmgr
|