Ticket #12388: patch-src-Makefile

File patch-src-Makefile, 559 bytes (added by adamore@…, 17 years ago)
Line 
1--- src/Makefile        2007-08-03 14:03:41.000000000 +0200
2+++ src/Makefile        2007-08-03 14:04:29.000000000 +0200
3@@ -20,9 +20,13 @@
4 CC = gcc
5 CFLAGS = -g -O2 -Wall
6 
7-BINDIR = $(DESTDIR)$(XROOT)/bin
8-MANDIR = $(DESTDIR)$(XROOT)/man/man1
9-CFGDIR = $(DESTDIR)/etc/X11/aewm
10+MYLIBDIR = ../lib
11+BINDIR   = $(DESTDIR)$(PREFIX)/bin
12+MANDIR   = $(DESTDIR)$(PREFIX)/share/man/man1
13+CFGDIR   = $(DESTDIR)$(PREFIX)/etc/aewm
14+INCLUDES = -I$(MYLIBDIR) -I$(XROOT)/include $(EXTRA_INC)
15+LDPATH   = -L$(XROOT)/lib
16+LIBS     = -lX11 $(EXTRA_LIBS)
17 
18 AELIB = ../lib
19 AEDOC = ../doc