# Generated automatically from Makefile.in by configure.

# Please insert here the names of the object files of YOUR models
# (e.g., if you have written a file chaos.c

USEROBJ = modellib_def.o mult_proj.o user_panels.o

# Where did we install DsTool?
prefix       = /usr
exec_prefix  = /usr
libdir       = /usr/lib64
dsincludedir = /usr/include/dstool
dsdatadir    = /usr/share/dstool

# C-compiler setup
CC       = gcc
CXX      = c++
CFLAGS   = -pipe -Wall -g -O2 -I$(dsincludedir)
CXXFLAGS = -pipe -Wall -g -O2
DEFS     = -DHAVE_CONFIG_H -DDSDATADIR=\"$(dsdatadir)\"
LDFLAGS  = -L$(libdir) 
LIBS     = -ldl 

# Options necessary to use certain packages
X_LIBS        = 
X_CFLAGS      = 
X_EXTRA_LIBS  = 
X_PRE_LIBS    =  -lSM -lICE
TCL_LIBS      = -ltcl
CANDYS_LIBS   = 

# Other programs that we might need
F77             = 


# How do we compile something?

.c.o:
	$(CC) $(CFLAGS) $(X_CFLAGS) $(DEFS) -c -o $*.o $<

.cxx.o:
	$(CXX) $(CXXFLAGS) $(DEFS) -c -o $*.o $<

.F.o:
	$(F77) -c -o $*.o $<


all: dstool_u

dstool_u: $(USEROBJ)
	$(CC) $(USEROBJ) -o dstool_u $(CFLAGS) $(LDFLAGS) \
	-ldstool \
	$(TCL_LIBS) $(CANDYS_LIBS) $(X_LIBS) $(X_PRE_LIBS) \
	-lxview -lolgx -lX11 $(X_EXTRA_LIBS) $(LIBS) -lm

