Re: Enzo
(Që…ð@ÄØð@ÄÔ)
Sun, 31 Aug 1997 15:29:34 -0500
This is a multi-part message in MIME format.
--------------61AB59A495B67963F79F3CC0
Content-Type: text/plain; charset=us-ascii
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sorry I forgot to attach the Makefile.
Also, if I get it all to run I am going
to put it on my ftp server for Linux
users.
Dave Waller
--------------61AB59A495B67963F79F3CC0
Content-Type: text/plain; charset=us-ascii; name="Makefile"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="Makefile"
# makefile for enzo-sources
NEPOMUKDIR = nepomuk
NEPOMUKLIB = ${NEPOMUKDIR}/nepomuk.a
SNNSDIR = ../../SNNSv4.1/kernel/sources
SNNSLIBS = $(SNNSDIR)/libkernel.a $(SNNSDIR)/libfunc.a
HEADER_DIR = -I$(SNNSDIR) -I$(NEPOMUKDIR)
CC = gcc
CFLAGS = $(HEADER_DIR)
LDFLAGS = -lm -lfl
# -ll
OBJECTS = enzo.o m_table.o networkData.o subUtils.o
UTILS_OBJ = subUtils.o
SUBTARGET =
LIBS = pre/libpre.a \
stop/libstop.a \
selection/libselection.a \
mutation/libmutation.a \
crossover/libcrossover.a \
opt/libopt.a \
eval/libeval.a \
history/libhistory.a \
survival/libsurvival.a \
post/libpost.a
all: opt
debug opt: enzo
.KEEP_STATE:
opt:= SUBTARGET += opt
opt:= CFLAGS += -O4
debug:= SUBTARGET += debug
debug:= CFLAGS += -ggdb -Wall
enzo: $(OBJECTS) $(LIBS) $(NEPOMUKLIB)
$(CC) $(OBJECTS) $(LIBS) $(NEPOMUKLIB) $(SNNSLIBS) -lm -lfl -o ../enzo
m_table:
$(m_table.c) $(OUTPUT_OPTION) $<
$(LIBS): FORCE
cd $(@D); $(MAKE) $(SUBTARGET)
$(NEPOMUKLIB): FORCE
cd $(NEPOMUKDIR); $(MAKE) $(SUBTARGET)
# ------------------------------------------------------------------------------
group: FORCE
chmod -f g+w */*.o */*.a enzo
clean: FORCE
rm -f *~ */*~ */*.o */*.a *.o *.tmp */*.tmp
FORCE:
#eof
--------------61AB59A495B67963F79F3CC0--