graphicstools/gdi_tools/group/Makefile.bmconv
author Faisal Memon <faisal.memon@nokia.com>
Fri, 16 Jul 2010 18:54:03 +0100
branchEGL_MERGE
changeset 119 5f371025658c
parent 0 5d03bc08d59c
permissions -rw-r--r--
Chop out the code that handles "additional _E32Dll entry point after last ordinal position". I can't agree with that as how the DLL is supposed to work, and gives errors for me. Maybe the scripts to re-generate the jump tables have not been tried recently so its not a problem that's been hit by others.

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