diff -r 000000000000 -r 5d03bc08d59c graphicstools/gdi_tools/group/Makefile.bmconv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/graphicstools/gdi_tools/group/Makefile.bmconv Tue Feb 02 01:47:50 2010 +0200 @@ -0,0 +1,27 @@ +CXX = g++296 +CXXFLAGS = -x c++ -g -D __LINUX__ -I $(EPOCROOT)epoc32/include -I ../inc +SOURCE = MAINFUNC.CPP BMTOPBM.CPP PBMCOMP.CPP PBMTOBM.CPP RGB.CPP UTILS.CPP +BLDDIR = ../build-bmconv +OBJECT = $(addprefix $(BLDDIR)/, $(notdir $(SOURCE:.CPP=.o))) +TARGET = $(BLDDIR)/bmconv + +VPATH = ../bmconv + +_dummy := $(shell mkdir -p $(BLDDIR)) + +all: $(TARGET) + + +$(TARGET): $(OBJECT) + $(CXX) $^ -o $@ + + +$(OBJECT): $(BLDDIR)/%.o: %.CPP + $(CXX) $(CXXFLAGS) -c $< -o $@ + +clean: + rm -f $(OBJECT) $(TARGET) + -rmdir $(BLDDIR) + +.PHONY: all clean +