]> git.zerfleddert.de Git - micropolis/blobdiff - src/sim/makefile
fix for crash when falling back from shared memory to wired mode.
[micropolis] / src / sim / makefile
index bce51130d2861705997c4ebd2bebf117c4bd0d4c..a08847e7a26ec550945ba66708f7ef4b7a86e439 100644 (file)
@@ -16,7 +16,7 @@ DEFINES = -DIS_LINUX
 CFLAGS = $(OPTFLAGS) $(DEFINES)
 
 #LDFLAGS = -Bstatic
-LDFLAGS=-L/usr/X11/lib
+LDFLAGS=-L/usr/X11/lib -L/usr/X11R6/lib
 
 INSTALL = install -s
 
@@ -97,7 +97,7 @@ all: sim
 lint:
        alint $(INCLUDES) $(SRCS) > LINT
 
-sim: $(ALLOBJS)
+sim: $(ALLOBJS) $(TCLXHOME)/libtk.a $(TCLXHOME)/libtcl.a
        $(CC) $(CFLAGS) $(LDFLAGS) $(INCLUDES) $(ALLOBJS) $(LIBS) -o sim
 
 clean:
Impressum, Datenschutz