📄 makefile.mingw32
字号:
# This makefile compiles the source code for the "RSA Data Security, Inc.# MD5 Message-Digest Algorithm" as found in RFC 1321. That code is copyrighted:## Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991.# All rights reserved.## See the source code for copyright restrictions.## No "makefile" is provided in the RFC.# This one was written by Jim Ellis (jte@cert.org) for convenience.## Modified by: Sh Yunchen (rock@bbs.isu.edu.tw) # I add two labels to create a archive and install.# Create : make archive# Install: make install# The name of archive: libmd5.a# Where did they install to?# Archive: $PREFIX/lib# Header files: $PREFIX/include/md5#PREFIX = "C:\Progra~1\Mingw32"CC = gcc# Note: a bug in mddriver causes "MD" to default to an incorrect value,# so we set it to "5" here.CFLAGS = -O2 -DMD=5md5: md5c.o mddriver.o $(CC) -o md5 md5c.o mddriver.oarchive: md5c.o ar ruv libmd5.a $< ranlib libmd5.aall: md5 archivemddriver.o: global.h md5.h $(CC) -c $(CFLAGS) mddriver.cmd5c.o: global.h md5.h $(CC) -c $(CFLAGS) md5c.cclean: del *.o del md5.exe del libmd5.ainstall: copy libmd5.a $(PREFIX)\lib mkdir $(PREFIX)\include\md5 copy global.h $(PREFIX)\include\md5 copy md5.h $(PREFIX)\include\md5 copy md5.hi $(PREFIX)\include\md5.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -