From e931cd1ed2b20f567559577646dccc1aec23ef16 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Wed, 11 Jan 2017 19:58:27 +0000 Subject: [PATCH] Makefile: Added more files to compile --- source/Makefile | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/source/Makefile b/source/Makefile index 66e5d9a..b9ce324 100644 --- a/source/Makefile +++ b/source/Makefile @@ -18,9 +18,13 @@ MAINOBJS=main.o AppXestiaCalendar.o BMCOOBJS=tools/bitmapcode.o COMMONOBJS=common/monthviewgen.o common/file.o common/text.o \ common/uuid.o common/preferences.o common/dirs.o common/defaults.o \ - common/random.o + common/random.o common/svrblist.o FORM_MAINOBJS=forms/main/frmMain.o FORM_UPDATEOBJS=forms/update/frmUpdate.o +FORM_EDITACCOUNTOBJS=forms/editaccount/frmEditAccount.o +FORM_NEWACCOUNTOBJS=forms/newaccount/frmNewAccount.o +FORM_CALENDAREDITOROBJS=forms/calendareditor/frmCalendarEditor.o +FORM_EVENTEDITOROBJS=forms/eventeditor/frmEventEditor.o FORM_PREFERENCESOBJS=forms/preferences/frmPreferences.o FORM_ABOUTOBJS=forms/about/frmAbout.o WIDGETSOBJS=widgets/XCCalendarCtrl.o widgets/XCCalendarDay.o \ @@ -30,7 +34,9 @@ WIDGETSOBJS=widgets/XCCalendarCtrl.o widgets/XCCalendarDay.o \ widgets/XCCalendarMonthSelect.o \ widgets/XCCalendarList.o \ widgets/XCCalendarListAccountCtrl.o \ - widgets/XCCalendarListCalendarCtrl.o + widgets/XCCalendarListCalendarCtrl.o \ + widgets/XCCalendarMenu.o \ + widgets/XCEventMenu.o CALENDARLISTOBJS=objects/calendarlist/CalendarList.o CALENDAROBJS=objects/calendarobject/CalendarObject-Save.o \ objects/calendarobject/CalendarObject.o @@ -43,12 +49,17 @@ default: $(MAKE) calendardatastorage $(MAKE) xestiacal -forms: form_mainobjs form_preferencesobjs form_aboutobjs form_updateobjs +forms: form_mainobjs form_editaccountobjs form_newaccountobjs \ + form_preferencesobjs form_aboutobjs form_updateobjs \ + form_calendareditorobjs form_eventeditorobjs xestiacal: mainobjs forms widgetsobjs commonobjs calendarlistobjs calendarobjs calendareventobjs $(CPP) -Os $(MAINOBJS) $(FORM_MAINOBJS) $(FORM_PREFERENCESOBJS) \ - $(FORM_ABOUTOBJS) $(FORM_UPDATEOBJS) $(WIDGETSOBJS) $(COMMONOBJS) \ - $(CALENDARLISTOBJS) $(CALENDAROBJS) $(CALENDAREVENTOBJS) \ + $(FORM_ABOUTOBJS) $(FORM_UPDATEOBJS) $(FORM_EDITACCOUNTOBJS) \ + $(FORM_NEWACCOUNTOBJS) $(FORM_CALENDAREDITOROBJS) \ + $(FORM_EVENTEDITOROBJS) \ + $(WIDGETSOBJS) $(COMMONOBJS) $(CALENDARLISTOBJS) $(CALENDAROBJS) \ + $(CALENDAREVENTOBJS) \ -o $(XCAL_OUT) $(CPPLIBS) bitmaphelperobjs: $(BMCOOBJS) @@ -68,6 +79,14 @@ form_mainobjs: $(FORM_MAINOBJS) form_updateobjs: $(FORM_UPDATEOBJS) +form_editaccountobjs: $(FORM_EDITACCOUNTOBJS) + +form_newaccountobjs: $(FORM_NEWACCOUNTOBJS) + +form_calendareditorobjs: $(FORM_CALENDAREDITOROBJS) + +form_eventeditorobjs: $(FORM_EVENTEDITOROBJS) + form_preferencesobjs: $(FORM_PREFERENCESOBJS) form_aboutobjs: $(FORM_ABOUTOBJS) -- 2.39.5