X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/6a5fa4e03967ab980cdc7ef96a42400bc29b4414..5a6a8ae5829f6f2836cb58d35629c5fa1f7eb4ba:/src/sim/makefile diff --git a/src/sim/makefile b/src/sim/makefile index 3497eb2..13c22c5 100644 --- a/src/sim/makefile +++ b/src/sim/makefile @@ -10,12 +10,13 @@ CC = gcc OPTFLAGS = -O3 #OPTFLAGS = -g -#DEFINES = -DIS_LINUX -DIS_INTEL -DCAM -DNET -DEFINES = -DIS_LINUX -DIS_INTEL +#DEFINES = -DIS_LINUX -DCAM -DNET +DEFINES = -DIS_LINUX -DNO_AIRCRASH CFLAGS = $(OPTFLAGS) $(DEFINES) #LDFLAGS = -Bstatic +LDFLAGS=-L/usr/X11/lib -L/usr/X11R6/lib INSTALL = install -s @@ -96,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: