Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Updated Makefile
[xestiacalendar/.git] / source / Makefile
1 CPP=g++
2 STRIP=strip
3 CPPFLAGS=`xml2-config --cflags` `wx-config --cxxflags` -std=c++11 -Os -I./common -ggdb
4 CPPLIBS=`wx-config --libs` `curl-config --libs` -lxml2
5 MAKE=make
6 RM=rm
8 DEBUG=false
9 XCAL_OUT=xestiacal
11 BMCO_HELP=tools/bitmapcode.helper
12 BMCO_DIR=../bitmaps
14 MAINOBJS=main.o AppXestiaCalendar.o
15 BMCOOBJS=tools/bitmapcode.o
16 COMMONOBJS=common/monthviewgen.o
17 FORM_MAINOBJS=forms/main/frmMain.o
18 WIDGETSOBJS=widgets/XCCalendarCtrl.o widgets/XCCalendarDay.o \
19  widgets/XCCalendarDayEntry.o widgets/XCCalendarMonthView.o \
20  widgets/XCCalendarMonthViewDayTitle.o \
21  widgets/XCCalendarManipulator.o \
22  widgets/XCCalendarMonthSelect.o
24 default:
25         $(MAKE) bitmaphelper
26         $(MAKE) xestiacal
28 xestiacal: mainobjs form_mainobjs widgetsobjs commonobjs
29         $(CPP) -Os $(MAINOBJS) $(FORM_MAINOBJS) $(WIDGETSOBJS) \
30         $(COMMONOBJS) \
31         -o $(XCAL_OUT) $(CPPLIBS)
33 bitmaphelperobjs: $(BMCOOBJS)
35 bitmaphelper: bitmaphelperobjs
36         $(CPP) $(CPPFLAGS) $(BMCOOBJS) -o $(BMCO_HELP) $(CPPLIBS)
37         $(BMCO_HELP) bitmaps/
38         
39 clean:
40         find . -name "*.o" -type f -delete
41         $(RM) -f ./xestiacal
42         
43 mainobjs: $(MAINOBJS)
45 form_mainobjs: $(FORM_MAINOBJS)
47 widgetsobjs: $(WIDGETSOBJS)
48         
49 commonobjs: $(COMMONOBJS)
51 test:
52         cd tests
53         g++ `xml2-config --cflags --libs` -ggdb --std=c++11 -lcurl -lgtest -pthread xestiacalendar_test.cpp xestiacalendar_testcommon.cpp ../objects/calendarevent/CalendarEvent.cpp ../objects/calendartask/CalendarTask.cpp ../objects/calendarjournal/CalendarJournal.cpp ../objects/calendarfreebusy/CalendarFreeBusy.cpp ../objects/calendartimezone/CalendarTimezone.cpp ../objects/calendarobject/CalendarObject.cpp ../common/file.cpp ../common/text.cpp ../objects/CalDAV/CalDAV.cpp ../objects/CalDAV/CalDAV-XMLProcessing.cpp -o xestiacalendar_test
54         cd ..
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