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

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