Skip to content

Commit

Permalink
Version 1.9: Full 64-bit support
Browse files Browse the repository at this point in the history
  • Loading branch information
dkaluta committed Mar 23, 2019
1 parent 3ec0d8a commit 132f278
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
18 changes: 3 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,6 @@ COMPILER=$(COMPILER_CLANG)

CC_WARN_OPTS=-Wall -Wextra -Wno-unused-parameter -Werror

ifdef 64BIT
ARCH_64BIT=-arch x86_64
else
ARCH_64BIT=
endif

ifdef DEBUG
ARG_DEBUG=-g
else
ARG_DEBUG=
endif

SOURCE_FILES=icalBuddy[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.m ANSIEscapeHelper.m HG*.m IcalBuddy*.m *+HGAdditions.m


Expand All @@ -54,7 +42,7 @@ icalBuddy: $(SOURCE_FILES) icalBuddy.m
@echo
@echo ---- Compiling main app:
@echo ======================================
$(COMPILER) $(ARG_DEBUG) -O3 $(CC_WARN_OPTS) -std=c99 -force_cpusubtype_ALL -mmacosx-version-min=10.5 $(ARCH_64BIT) -framework Cocoa -framework CalendarStore -framework AppKit -framework AddressBook -o $@ icalBuddy.m $(SOURCE_FILES)
$(COMPILER) $(ARG_DEBUG) -O3 $(CC_WARN_OPTS) -std=c99 -force_cpusubtype_ALL -mmacosx-version-min=10.5 -arch x86_64 -framework Cocoa -framework CalendarStore -framework AppKit -framework AddressBook -o $@ icalBuddy.m $(SOURCE_FILES)



Expand All @@ -66,7 +54,7 @@ testIcalBuddy: $(SOURCE_FILES) icalBuddy.m calendarStoreMock/*.m
@echo
@echo ---- Compiling TEST version of main app:
@echo ======================================
$(COMPILER) $(ARG_DEBUG) -O3 -Wall -std=c99 -force_cpusubtype_ALL -mmacosx-version-min=10.5 $(ARCH_64BIT) -DUSE_MOCKED_CALENDARSTORE -framework Cocoa -framework CalendarStore -framework AppKit -framework AddressBook -o $@ icalBuddy.m calendarStoreMock/*.m $(SOURCE_FILES)
$(COMPILER) $(ARG_DEBUG) -O3 -Wall -std=c99 -force_cpusubtype_ALL -mmacosx-version-min=10.5 -arch x86_64 -DUSE_MOCKED_CALENDARSTORE -framework Cocoa -framework CalendarStore -framework AppKit -framework AddressBook -o $@ icalBuddy.m calendarStoreMock/*.m $(SOURCE_FILES)



Expand All @@ -93,7 +81,7 @@ testRunner: $(SOURCE_FILES)
@echo
@echo ---- Compiling test runner:
@echo ======================================
$(COMPILER) $(ARG_DEBUG) -O3 -Wall -std=c99 -force_cpusubtype_ALL -mmacosx-version-min=10.5 -arch ppc $(ARCH_64BIT) -DUSE_MOCKED_CALENDARSTORE -framework Cocoa -framework CalendarStore -framework AppKit -framework AddressBook -o $@ testRunner.m $(SOURCE_FILES) calendarStoreMock/*.m tests/unit/*.m
$(COMPILER) $(ARG_DEBUG) -O3 -Wall -std=c99 -force_cpusubtype_ALL -mmacosx-version-min=10.5 -arch ppc -arch x86_64 -DUSE_MOCKED_CALENDARSTORE -framework Cocoa -framework CalendarStore -framework AppKit -framework AddressBook -o $@ testRunner.m $(SOURCE_FILES) calendarStoreMock/*.m tests/unit/*.m



Expand Down
3 changes: 2 additions & 1 deletion icalBuddy.m
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ of this software and associated documentation files (the "Software"), to deal
int major;
int minor;
int build;
} version = {1,8,10};
} version = {1,9,0};

NSString* versionNumberStr()
{
Expand Down Expand Up @@ -252,6 +252,7 @@ int main(int argc, char *argv[])
@"\n");
Printf(@"Version %@\n", versionNumberStr());
Printf(@"Copyright 2008-2012 Ali Rantakari, http://hasseg.org/icalBuddy\n");
Printf(@"Updated to 64-bit by David Kaluta (2019), https://davidkaluta.github.io\n");
Printf(@"\n");
}

Expand Down

0 comments on commit 132f278

Please sign in to comment.