graphicstools/gdi_tools/group/Makefile.bmconv
author MattD <ext-matt.4.davies@nokia.com>
Fri, 24 Sep 2010 16:43:05 +0100
branchEGL_MERGE
changeset 189 7e2033e78e4a
parent 0 5d03bc08d59c
permissions -rw-r--r--
merged back dead head. No changes.

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