# Makefile for gridopt: Landscape Optimization Project
# Copyright (c) 2000 Ralf Seppelt
 


include ../makevars

EXS     = ess
OBJ	= hooke.o 
LIBS    = -L../smeopt -lsmeopt

all: $(EXS) 

# Use this for gnu make
$(EXS): %: %.o  $(OBJ)
	$(CXX) $@.o -o $@ -I. -lm  -D$(SYSTEM) $(OBJ) $(LIBS) -g -Wall

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

.c.o:
	$(CC) -c -o $*.o $*.c  -D$(SYSTEM) -g -Wall










