summaryrefslogtreecommitdiff
path: root/code/ecp/crypto/chacha/Makefile
blob: e64aac36173e892c1fe1f2caf7904a69ab0d3545 (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=

obj = chacha.o


all: libchacha.a
dep: all

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

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

clean:
	rm -f *.o *.a