summaryrefslogtreecommitdiff
path: root/lang/squeak-dev/files/patch-platforms__unix__npsqueak__Makefile
blob: d5def76a44c738b6c52bdf76840ac74599239b31 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- platforms/unix/npsqueak/Makefile.orig	Sat Aug 23 06:59:39 2003
+++ platforms/unix/npsqueak/Makefile	Fri Nov 24 18:55:48 2006
@@ -3,7 +3,7 @@
 
 ############ Customize flags here #######################
 
-INC	= -I./include -I/usr/X11R6/include
+INC	= -I./include -I%%LOCALBASE%%/include
 CC	= gcc
 CFLAGS	= $(INC) -O2 -fPIC -Wall
 LD	= gcc
@@ -20,7 +20,7 @@
 ############ compile and link ###########################
 
 npsqueak.so : npsqueak.o npunix.o 
-	$(LD) $(LDFLAGS) npsqueak.o npunix.o -o npsqueak.so 
+	$(LD) $(LDFLAGS) npsqueak.o npunix.o -o npsqueak.so -L%%LOCALBASE%%/lib -lXt -lX11
 
 npsqueak.o: npsqueak.c ../config.h
 	$(CC) -c $(CFLAGS) -DVM_LIBDIR=\"$(VM_LIBDIR)\" $<