summaryrefslogtreecommitdiff
path: root/code/core/crypto/curve25519/Makefile
blob: 1a96045e2e955aaeb4d448cb83e0fac25042b746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
CFLAGS=-I../include -D__BEGIN_HIDDEN_DECLS= -D__END_HIDDEN_DECLS= -DED25519 -O3 $(PIC)

obj = curve25519.o curve25519-generic.o


all: libcurve25519.a
dep: all

%.o: %.c
	$(CC) $(CFLAGS) -c $<

libcurve25519.a: $(obj)
	$(AR) rcs $@ $(obj)

clean:
	rm -f *.o *.a