gfxtools/gditools/group/Makefile.bmconv
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 12 Mar 2010 15:48:37 +0200
branchRCL_3
changeset 7 134a83fd6d82
parent 0 f58d6ec98e88
permissions -rw-r--r--
Revision: 201007 Kit: 201008

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