-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqrsp.mak
118 lines (65 loc) · 1.84 KB
/
qrsp.mak
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
#makefile - qrsp
CC=armcc
CXX=armcpp
CXXFLAGS=$(CFLAGS)
CFLAGS+= -W -o0 -g -Ono-inline -I .\include;.\include\service;.\include\component;.\ResID;.\\.\src\app\widget;.\\.\src\app\launcher;.\\.\src\app\wallpaper;.\\.\src\app\screen_lock;.\\.\include\service;.\\.\include\component;.\\.\include\service;.\\.\src\framework;.\\.\src\framework\ui_core\base;.\\.\src\framework\ui_core\mvc;.\\.\src\framework\ui_core\pme;.\\.\src\framework\mmi_core;.\\.\src\ui_engine\vrt\interface;.\\.\src\component;.\\.\src\ui_engine\framework\xml;.\
LD=$(CXX) $(CXXFLAGS)
LDFLAGS=
LDFLAGS+=
LIBS+=-lodbc32 -lodbccp32 -lmrewin32 -lmsimg32
TARGET=qrsp
.PHONY: all
all: $(TARGET)
%.o: %.c
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
%.o: %.cc
$(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $<
%.o: %.cpp
$(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $<
%.o: %.cxx
$(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $<
%.res: %.rc
$(RC) $(CPPFLAGS) -o $@ -i $<
SOURCE_FILES= \
./bch15_5.c \
./binarize.c \
./decoder.c \
./error.c \
./image.c \
./img_scanner.c \
./isaac.c \
./qr_finder.c \
./qrdec.c \
./qrdectxt.c \
qrsp.c \
qrsp.def \
./refcnt.c \
./rs.c \
./scanner.c \
./stf_syscalls_minimal.c \
./svg.c \
./symbol.c \
./util.c
HEADER_FILES= \
./config.h \
./debug.h \
./error.h \
./image.h \
./img_scanner.h \
./mini_stdint.h \
./mre_def.h \
./qrcode.h \
./qrsp.h \
./refcnt.h \
./svg.h \
./symbol.h \
./zbar.h
RESOURCE_FILES= \
./res/qrsp.res.xml
SRCS=$(SOURCE_FILES) $(HEADER_FILES) $(RESOURCE_FILES)
OBJS=$(patsubst %.cxx,%.o,$(patsubst %.cpp,%.o,$(patsubst %.cc,%.o,$(patsubst %.c,%.o,$(filter %.c %.cc %.cpp %.cxx ,$(SRCS))))))
$(TARGET): $(OBJS)
$(LD) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
.PHONY: clean
clean:
-rm -f $(OBJS) $(TARGET)