makefile

来自「这是一个用来加解密的算法库」· 代码 · 共 26 行

TXT
26
字号
# make test harness, it is good.CFLAGS += -Wall -W -Os -I../../src/headers/ -I./# add -g3 for ccmalloc debugging #CFLAGS += -g3# if you're not debuggingCFLAGS += -fomit-frame-pointerdefault: testOBJECTS=test.o cipher_hash_test.o mac_test.o modes_test.o \pkcs_1_test.o store_test.o rsa_test.o ecc_test.o dsa_test.o dh_tests.o der_tests.o #uncomment this to get heap checking [e.g. memory leaks].  Note #that you *MUST* build libtomcrypt.a with -g3 enabled [and make install it]###CCMALLOC = -lccmalloc -ldltest: $(OBJECTS)	$(CC) $(CFLAGS) $(OBJECTS) /usr/lib/libtomcrypt.a  $(CCMALLOC) -o test	clean:	rm -rf test *.o *.obj *.exe *~	.libs

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?