graphicstools/gdi_tools/group/Makefile.bmconv
author Faisal Memon <faisal.memon@nokia.com>
Mon, 16 Aug 2010 10:01:57 +0100
branchbug235_bringup_0
changeset 148 706129140cfc
parent 0 5d03bc08d59c
permissions -rw-r--r--
Internal trace utils don't seem to be available in the PDK so chop them out.

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