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