summaryrefslogtreecommitdiff
path: root/code/crypto/chacha/Makefile
blob: dae337349f4b5914b421b7f8ba8de35dc02c8cab (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= -O3 $(PIC)
obj = chacha.o

all: libchacha.a
dep: all

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

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

clean:
	rm -f *.o *.a