#***************************************************************** # Makefile # # Copyright (C) 2009 Andrey Y. Rjavskov(aka rjaan) # #****************************************************************/ CC= g++ CFLAGS= -g -O2 -I.. -I. -I./ LDFLAGS = -lm PWD_PATH = $(shell pwd) CPPFLAGS = $(CFLAGS) OBJECTS= .SUFFIXES: .cxx .cxx.o: $(CC) -c $(CPPFLAGS) -o $@ $< all: cpp_polymorphos cpp_polymorphos: $(OBJECTS) cpp_polymorphos.o $(CC) cpp_polymorphos.o $(OBJECTS) -o cpp_polymorphos $(LDFLAGS) clean: rm -f *.o core* cpp_polymorphos *~ cpp_polymorphos.o: cpp_polymorphos.cc cpp_polymorphos.h #eof