Skip to content
Snippets Groups Projects
Commit 3324a4e9 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

use LIBDIR in all Makefile

parent 635bc5a7
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ MODULES = src src/common po
PREFIX = /usr/local
DESTDIR =
LIBDIR = /lib
export LIBDIR
MANDIR = $(DESTDIR)$(PREFIX)/share/man
FIND = find . \( -name '*.glade' -o -name '*.py' -o -name '*.xpm' -o -name '*.gif' -o -name '*.png' -o -name '*.wav' \)
......
......@@ -6,7 +6,7 @@ LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0`
all: idle.so
idle.so:
$(CC) $(CFLAGS) $(LDFLAGS) -shared idle.c $^ -o $@ -L/usr/X11R6/lib -lX11 -lXss -lXext
$(CC) $(CFLAGS) $(LDFLAGS) -shared idle.c $^ -o $@ -L/usr/X11R6$(LIBDIR) -lX11 -lXss -lXext
clean:
rm -f *.so
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment