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

📄 makefile

📁 Windows上的精简Linux系统
💻
字号:
## -----------------------------------------------------------------------##  $Id: Makefile,v 1.3 2004/01/24 21:37:22 hpa Exp $####   Copyright 1998-2003 H. Peter Anvin - All Rights Reserved####   This program is free software; you can redistribute it and/or modify##   it under the terms of the GNU General Public License as published by##   the Free Software Foundation, Inc., 675 Mass Ave, Cambridge MA 02139,##   USA; either version 2 of the License, or (at your option) any later##   version; incorporated herein by reference.#### -----------------------------------------------------------------------## Makefile for SYSLINUX Win32## This is separated out mostly so we can have a different set of Makefile# variables.#OSTYPE   = $(shell uname -msr)ifeq ($(findstring CYGWIN,$(OSTYPE)),CYGWIN)CC       = gccAR	 = arRANLIB   = ranlibCFLAGS   = -mno-cygwin -W -Wall -O2 -fomit-frame-pointer -D_FILE_OFFSET_BITS=64PIC	 =LDFLAGS  = -mno-cygwin -O2 -selseifeq ($(findstring MINGW32,$(OSTYPE)),MINGW32)CC       = gccAR	 = arRANLIB   = ranlibelseCC       = mingw-gccAR	 = mingw-arRANLIB   = mingw-ranlibendifCFLAGS   = -W -Wall -O2 -fomit-frame-pointer -D_FILE_OFFSET_BITS=64PIC      =LDFLAGS  = -O2 -sendifINCLUDE += -I..PERL     = perlVERSION  = $(shell cat ../version).c.o:	$(CC) $(INCLUDE) $(CFLAGS) -c -o $@ $<.c.i:	$(CC) $(INCLUDE) $(CFLAGS) -E -o $@ $<all: ../syslinux.exelibsyslinux.a: bootsect_bin.o ldlinux_bin.o syslxmod.o	rm -f $@	$(AR) cq $@ $^	$(RANLIB) $@../syslinux.exe: syslinux-mingw.o libsyslinux.a	$(CC) $(LDFLAGS) -o $@ $^syslxmod.o: ../syslxmod.c ../patch.offset	$(CC) $(INCLUDE) $(CFLAGS) $(PIC) -DPATCH_OFFSET=`cat ../patch.offset` \		-c -o $@ $<bootsect_bin.o: ../bootsect_bin.c	$(CC) $(INCLUDE) $(CFLAGS) -c -o $@ $<ldlinux_bin.o: ../ldlinux_bin.c	$(CC) $(INCLUDE) $(CFLAGS) -c -o $@ $<tidy:	rm -f *.o *.aclean: tidyspotless: clean	rm -f ../syslinux.exe *~

⌨️ 快捷键说明

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