summaryrefslogtreecommitdiff
path: root/code/core/crypto/curve25519/Makefile
blob: 470d31ea47ac77cb0a10f389350126034d8ffa9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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