Introduce samsungtools to decrypt samsung firmware
[maemo-rb.git] / utils / samsungtools / Makefile
blob97af8bb87343791e00a9ae513531854f42e29f28
1 DEFINES=
2 CC=gcc
3 LD=gcc
4 CFLAGS=-g -std=c99 -W -Wall $(DEFINES) `pkg-config --cflags openssl`
5 LDFLAGS=`pkg-config --libs openssl`
6 BINS=fwdecrypt
8 all: $(BINS)
10 %.o: %.c
11 $(CC) $(CFLAGS) -c -o $@ $<
13 fwdecrypt: fwdecrypt.o samsung.o
14 $(LD) -o $@ $^ $(LDFLAGS)
16 clean:
17 rm -fr *.o $(BINS)