2 # Origional BC Makefile from Teun <Teun.Nijssen@kub.nl>
7 # note: the -3 flag produces code for 386, 486, Pentium etc; omit it for 286s
10 CFLAGS = -c -ml -d $(OPTIMIZE) $(WINDOWS) -DMSDOS
11 LFLAGS = -ml $(WINDOWS)
17 $(CC) $(LFLAGS) -e$*.exe $*.obj libdes.lib
19 all: $(LIB) destest.exe rpw.exe des.exe speed.exe
21 # "make clean": use a directory containing only libdes .exe and .obj files...
28 OBJS= cbc_cksm.obj cbc_enc.obj ecb_enc.obj pcbc_enc.obj \
29 qud_cksm.obj rand_key.obj set_key.obj str2key.obj \
30 enc_read.obj enc_writ.obj fcrypt.obj cfb_enc.obj \
31 ecb3_enc.obj ofb_enc.obj cbc3_enc.obj read_pwd.obj\
32 cfb64enc.obj ofb64enc.obj ede_enc.obj cfb64ede.obj\
42 $(TLIB) libdes.lib @libdes.rsp,nul
45 destest.exe: destest.obj libdes.lib
46 rpw.exe: rpw.obj libdes.lib
47 speed.exe: speed.obj libdes.lib
48 des.exe: des.obj libdes.lib