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