ifeq ($(SWARMHOME),)
SWARMHOME=../swarm-1998-04-11
endif
LIBNAME=ga
EMAIL=jmerelo@kal-el.ugr.es
OBJECTS=BinChrom.o PopBatchSwarm.o PopObsSwarm.o PopSwarm.o
SRCS = ga.h Chromosome.h BinChrom.[hm] Population.h PopSwarm.[hm] PopObsSwarm.[mh] PopBatchSwarm.[hm] gademo.m
#This HEADERS is needed by the install routine...
HEADERS = ga.h Chromosome.h BinChrom.h Population.h PopSwarm.h PopObsSwarm.h PopBatchSwarm.h
FILES= GA-experiment.setup GA-batch.setup ChangeLog Breeder-manual.ps

include $(SWARMHOME)/Makefile.lib

gademo: gademo.o $(OBJECTS)
	$(CC) $(LDFLAGS) -o $@ $@.o $(OBJECTS) $(LIBS) 

#Different targets
tar:
	cd ..; tar cvf Breeder-1.0.tar Breeder-1.0/*.h Breeder-1.0/*.m Breeder-1.0/Makefile Breeder-1.0/ChangeLog Breeder-1.0/GA-*.setup Breeder-1.0/*.ps;gzip Breeder-1.0.tar

#; mv Breeder-1.0.tar.gz /net/sfi/disk2/FTP/pub/jmerelo/

#Higher level classes
PopBatchSwarm.o: PopBatchSwarm.h PopSwarm.h
PopObsSwarm.o: PopObsSwarm.h PopSwarm.h 
PopSwarm.o: PopSwarm.h Population.h BinChrom.h
BinChrom.o: BinChrom.h Chromosome.h



