# -*- Mode: makefile -*-
# Copyright (c) 1999 Matthew Wall, all rights reserved
# -----------------------------------------------------------------------------
#   To make all of the examples, do 'make'.  You can compile any one of
# the examples by typing 'make exN' where N is the number of the example you
# want to compile.  See the README for a description of what each example does.
# -----------------------------------------------------------------------------

include ../makevars

# Set these paths to the location of the GA library and headers.
#GA_INC_DIR= /usr/local/include
#GA_LIB_DIR= /usr/local/lib

GA_INC_DIR= ..
GA_LIB_DIR= ../ga

INC_DIRS= -I$(GA_INC_DIR)
LIB_DIRS= -L$(GA_LIB_DIR)

EXS=  gasme

all: $(EXS) 


clean:
	$(RM) *.o *.exe

# Use this for gnu make
$(EXS): %: %.o
	$(CXX) $@.o -o $@ -I. -L../ga -lga -lm

