aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/addrbook/msoutlook/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/native/addrbook/msoutlook/Makefile')
-rw-r--r--src/native/addrbook/msoutlook/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/native/addrbook/msoutlook/Makefile b/src/native/addrbook/msoutlook/Makefile
index 53e108c..31037ac 100644
--- a/src/native/addrbook/msoutlook/Makefile
+++ b/src/native/addrbook/msoutlook/Makefile
@@ -1,8 +1,8 @@
-CXX = c++ -O2
+CC = gcc -O2
OUTLOOK_MAPI_HEADERS ?= /c/Users/lyubomir/Downloads/Outlook2010MAPIHeaders
TARGET_BASENAME = jmsoutlookaddrbook
-ARCH = $(shell $(CXX) -dumpmachine | sed -e s/x86_64-.*/-64/ -e s/i.86-.*//)
+ARCH = $(shell $(CC) -dumpmachine | sed -e s/x86_64-.*/-64/ -e s/i.86-.*//)
ifeq "$(ARCH)" "-64"
JAVA_HOME ?= C:/PROGRA~1/jdk
else
@@ -15,9 +15,9 @@ LIBS = -lmapi32
TARGET = ../../../../lib/native/windows$(ARCH)/$(TARGET_BASENAME).dll
$(TARGET): \
- ../AddrBookContactQuery.c
- MsOutlookMAPIHResultException.cpp \
- net_java_sip_communicator_plugin_addrbook_msoutlook_MsOutlookAddrBookContactQuery.cpp \
- net_java_sip_communicator_plugin_addrbook_msoutlook_MsOutlookAddrBookContactSourceService.c
- $(CXX) $(CPPFLAGS) $^ $(LDFLAGS) -o $@ $(LIBS)
+ ../AddrBookContactQuery.c \
+ MsOutlookMAPIHResultException.cxx \
+ net_java_sip_communicator_plugin_addrbook_msoutlook_MsOutlookAddrBookContactQuery.cxx \
+ net_java_sip_communicator_plugin_addrbook_msoutlook_MsOutlookAddrBookContactSourceService.cxx
+ $(CC) $(CPPFLAGS) $^ $(LDFLAGS) -o $@ $(LIBS)
-strip $(TARGET)