include ../../../Makefile.in.$(shell uname) PROGNAME=pattern_perspective OUTNAME=$(PROGNAME) PLATFORM=BeOS CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ -L../../../src \ $(PIXFMT) LIBS = $(AGGLIBS) -lroot -lbe -ltranslation SRC=\ ../../$(PROGNAME).cpp \ ../../interactive_polygon.cpp \ ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp OBJ= $(SRC:.cpp=.o) $(PROGNAME): $(OBJ) $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) mimeset -f $(OUTNAME) clean: rm -f $(PROGNAME) rm -f ../../$(PROGNAME).o rm -f ../../interactive_polygon.o rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o %.o: %.cpp @echo \< $*.cpp \> $(CXX) -c $(CXXFLAGS) $*.cpp -o $@