make load_tester more strict to use it along stroke
[strongswan.git] / src / libcrypto / libsha2 / Makefile.old
1 CFLAGS=-O3 -fomit-frame-pointer -I../include $(EXTRA_CFLAGS)
2
3 LIBOBJ := hmac_sha2.o sha2.o
4
5 BLIB := libsha2.a
6
7 .S.o:
8         $(CC) $(AFLAGS) -c $< -o $@
9
10 $(BLIB): $(LIBOBJ)
11         /bin/rm -f $(BLIB)
12         ar cr $(BLIB) $(LIBOBJ)
13         -if test -s /bin/ranlib; then /bin/ranlib $(BLIB); \
14         else if test -s /usr/bin/ranlib; then /usr/bin/ranlib $(BLIB); \
15         else exit 0; fi; fi
16
17 test: test_main.o $(BLIB)
18         $(CC) -o $@ $^ 
19
20 clean:
21         rm -f *.[oa] core $(TARGET) test