equal
deleted
inserted
replaced
|
1 CXX = g++296 |
|
2 CXXFLAGS = -x c++ -g -D __LINUX__ -I $(EPOCROOT)epoc32/include -I ../inc |
|
3 SOURCE = MAINFUNC.CPP BMTOPBM.CPP PBMCOMP.CPP PBMTOBM.CPP RGB.CPP UTILS.CPP |
|
4 BLDDIR = ../build-bmconv |
|
5 OBJECT = $(addprefix $(BLDDIR)/, $(notdir $(SOURCE:.CPP=.o))) |
|
6 TARGET = $(BLDDIR)/bmconv |
|
7 |
|
8 VPATH = ../bmconv |
|
9 |
|
10 _dummy := $(shell mkdir -p $(BLDDIR)) |
|
11 |
|
12 all: $(TARGET) |
|
13 |
|
14 |
|
15 $(TARGET): $(OBJECT) |
|
16 $(CXX) $^ -o $@ |
|
17 |
|
18 |
|
19 $(OBJECT): $(BLDDIR)/%.o: %.CPP |
|
20 $(CXX) $(CXXFLAGS) -c $< -o $@ |
|
21 |
|
22 clean: |
|
23 rm -f $(OBJECT) $(TARGET) |
|
24 -rmdir $(BLDDIR) |
|
25 |
|
26 .PHONY: all clean |
|
27 |