⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 Linux下内存测试软件
💻
字号:
## Makefile for memtester by Charles Cazabon.## Copyright (C) 1999 Simon Kirby.# Copyright (C) 1999-2007 Charles Cazabon.# Licensed under the GNU General Public License version 2.  See the file# COPYING for details.#CC			= $(shell head -n 1 conf-cc)LD			= $(shell head -n 1 conf-ld)SOURCES		= memtester.c tests.cOBJECTS		= $(SOURCES:.c=.o)HEADERS		= memtester.hTARGETS     = *.o compile load auto-ccld.sh find-systype make-compile make-load systype extra-libsINSTALLPATH	= /usr/local## Targets#all: memtesterinstall: all	mkdir -m 755 -p $(INSTALLPATH)/{bin,man/man8}	install -m 755 memtester $(INSTALLPATH)/bin/	gzip -c memtester.8 >memtester.8.gz ; install -m 644 memtester.8.gz $(INSTALLPATH)/man/man8/auto-ccld.sh: \conf-cc conf-ld warn-auto.sh	( cat warn-auto.sh; \	echo CC=\'`head -1 conf-cc`\'; \	echo LD=\'`head -1 conf-ld`\' \	) > auto-ccld.shcompile: \make-compile warn-auto.sh systype	( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \	compile	chmod 755 compilefind-systype: \find-systype.sh auto-ccld.sh	cat auto-ccld.sh find-systype.sh > find-systype	chmod 755 find-systypemake-compile: \make-compile.sh auto-ccld.sh	cat auto-ccld.sh make-compile.sh > make-compile	chmod 755 make-compilemake-load: \make-load.sh auto-ccld.sh	cat auto-ccld.sh make-load.sh > make-load	chmod 755 make-loadsystype: \find-systype trycpp.c	./find-systype > systypeextra-libs: \extra-libs.sh systype	./extra-libs.sh "`cat systype`" >extra-libsload: \make-load warn-auto.sh systype	( cat warn-auto.sh; ./make-load "`cat systype`" ) > load	chmod 755 loadclean:	rm -f memtester $(TARGETS) $(OBJECTS) corememtester: \$(OBJECTS) memtester.c tests.h tests.c tests.h conf-cc Makefile load extra-libs	./load memtester tests.o `cat extra-libs`memtester.o: memtester.c tests.h conf-cc Makefile compile	./compile memtester.ctests.o: tests.c tests.h conf-cc Makefile compile	./compile tests.c

⌨️ 快捷键说明

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