Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Halo-Michael committed Nov 14, 2020
1 parent d3734e6 commit d162241
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ setTimeMachine: libTimeMachine
$(LDID) -Sentitlements-apfs.xml setTimeMachine

TimeMachine: libTimeMachine
$(CC) -fobjc-arc -framework Foundation libTimeMachine.dylib TimeMachine.m -o TimeMachine
$(CC) -framework CoreFoundation libTimeMachine.dylib TimeMachine.c -o TimeMachine
strip TimeMachine
$(LDID) -Sentitlements-apfs.xml TimeMachine

Expand Down
4 changes: 2 additions & 2 deletions TimeMachine.m → TimeMachine.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <Foundation/Foundation.h>
#import "utils.h"
#include <CoreFoundation/CoreFoundation.h>
#include "utils.h"

int main() {
if (getuid() != 0) {
Expand Down

0 comments on commit d162241

Please sign in to comment.