source: trunk/cscrypt/Makefile@ 1

Last change on this file since 1 was 1, checked in by root, 14 years ago

initial import

File size: 717 bytes
Line 
1SHELL = /bin/sh
2
3GENERAL = Makefile cscrypt.h des.h bn.h
4
5LIBDIR = ../lib
6LIBFILE1 = $(LIBDIR)/libcscrypt-$(TYP).a
7
8OBJECTS1 = $(LIBFILE1)(md5.o) \
9 $(LIBFILE1)(crc32.o) \
10 $(LIBFILE1)(des.o) \
11 $(LIBFILE1)(bn_add.o) \
12 $(LIBFILE1)(bn_asm.o) \
13 $(LIBFILE1)(bn_ctx.o) \
14 $(LIBFILE1)(bn_div.o) \
15 $(LIBFILE1)(bn_exp.o) \
16 $(LIBFILE1)(bn_lib.o) \
17 $(LIBFILE1)(bn_mul.o) \
18 $(LIBFILE1)(bn_print.o) \
19 $(LIBFILE1)(bn_shift.o) \
20 $(LIBFILE1)(bn_sqr.o) \
21 $(LIBFILE1)(bn_word.o) \
22 $(LIBFILE1)(mem.o)
23
24all: $(LIBFILE1)
25
26$(LIBFILE1): $(OBJECTS1)
27 -@$(RANLIB) $@
28
29$(OBJECTS1): $(GENERAL)
30
31.c.a:
32 $(CC) $(CFLAGS) $<
33 $(AR) $(ARFLAGS) $@ $*.o
34 -@rm -f $*.o
35
36.SUFFIXES: .o .c .a
Note: See TracBrowser for help on using the repository browser.