]> CyberLeo.Net >> Repos - SourceForge/eyefi-config.git/blob - Makefile
Add some new WEP code and some experimental non-working
[SourceForge/eyefi-config.git] / Makefile
1 #CC=$(CROSS_COMPILE)gcc -march=armv5te -mtune=xscale
2 #-march=armv5te  
3 #-marm
4 CFLAGS=-g -Wall
5
6 OBJS = eyefi-config.o eyefi-unix.o sha1.o md5.o
7
8 PLATFORM := $(shell uname -s)
9
10 ifeq ($(PLATFORM),Linux)
11         OBJS += eyefi-linux.o
12 endif
13 ifeq ($(PLATFORM),Darwin)
14         OBJS += eyefi-osx.o
15 endif
16
17 eyefi-config: $(OBJS)
18         $(CC) $(CFLAGS) $(OBJS) -static -o $@
19
20 clean:
21         rm eyefi-config core  $(OBJS) cscope*
22
23