Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added common/dirs.cpp for compilation when building the unit test application.
[xestiaab/.git] / source / tests / Makefile.in
1 CPP=g++
2 STRIP=strip
3 CPPFLAGS=`xml2-config --cflags` `wx-config --cxxflags` -I.. -std=c++11 -pthread @DBGOUT@
4 CPPLIBS=`wx-config --libs` `curl-config --libs` -lsfml-audio -lxml2 -lgtest
5 MAKE=make
6 OBJDIR=.
8 XABTEST_OUT=xestiaab_test
10 TESTOBJS=$(addprefix $(OBJDIR)/, ../contacteditor/cdo/ContactDataObject-unittest.o \
11  ../convert-unittest.o \
12  ../common/textprocessing-unittest.o \
13  ../common/dirs-unittest.o \
14  ../vcard/vcard34conv-unittest.o \
15  ../vcard/vcard34conv-v3conv-unittest.o \
16  ../vcard/vcard34conv-v4conv-unittest.o \
17  ../vcard/vcard-unittest.o \
18  xestiaab_test.o)
19  
20 default: testobjs
21 @GTEST@
23 %.o: %.cpp
24         $(CPP) $(CPPFLAGS) -c -o $@ $<
25         
26 %-unittest.o: %.cpp
27         $(CPP) $(CPPFLAGS) -c -o $@ $<
28         
29 testobjs: $(TESTOBJS)
31 clean:
32         rm -rf *.o ../*-unittest.o $(XABTEST_OUT)
33         rm -rf ../contacteditor/cdo/*-unittest.o
34         rm -rf ../common/*-unittest.o
35         rm -rf ../vcard/*-unittest.o
36         chmod 644 InvalidPermissions.vcf
37         
38 -include $(TESTOBJS:.o=.d)
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy