Skip to content

Commit

Permalink
Fix #26 - Build only for OSX by default
Browse files Browse the repository at this point in the history
  • Loading branch information
trufae committed Aug 16, 2016
1 parent 6037d28 commit ef72f76
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Makefile
Expand Up @@ -60,9 +60,7 @@ CFLAGS+=-g -ggdb

OBJS=fsmon.o main.o

all: ios osx wch
$(MAKE) fat
#scp fsmon-ios root@192.168.1.50:.
all: osx

ios:
$(IOS_CC) $(CFLAGS) -DTARGET_IOS=1 -o fsmon-ios $(SOURCES) \
Expand All @@ -84,7 +82,7 @@ osx-pkg:
wch:
$(WCH_CC) $(CFLAGS) -DTARGET_WATCHOS=1 -o fsmon-wch $(SOURCES)

fat:
fat: ios osx wch
lipo fsmon-ios -thin armv7 -output fsmon-ios-armv7
lipo fsmon-ios -thin arm64 -output fsmon-ios-arm64
lipo -create -output fsmon \
Expand All @@ -95,7 +93,6 @@ fat:
strip fsmon
codesign -s- fsmon


clean:
rm -f fsmon-osx fsmon-ios
rm -rf fsmon*.dSYM
Expand Down

0 comments on commit ef72f76

Please sign in to comment.