#
# Example Makefile, how to link your stuff to OpenPTC 1.0
#
# /usr/local/lib is a standard search path for your 
# compiler. 
#
# Also, /usr/local/bin or whereever you installed ptc-config has to be in
# your path
#

OBJECTS = eff.o eff1.o main.o libmidas.a

CC = g++
CFLAGS = -O2 `ptc-config --cflags`

all: introX11

# With dga
introX11: $(OBJECTS)
	$(CC) $(OBJECTS) -lpthread `ptc-config --libs` -o introX11

.cpp.o:
	$(CC) -c $(CFLAGS) $< 

clean: rm -f *.o
       rm -f ./introX11
        