From 5f9dfa09818f5e1bca9370ea7848d281323cc2c6 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 19 Jan 2005 23:39:48 +0000 Subject: beautify --- Rules.mak | 68 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 33 deletions(-) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index a9f500146..10e1aba42 100644 --- a/Rules.mak +++ b/Rules.mak @@ -18,17 +18,19 @@ # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -#-------------------------------------------------------- -# This file contains rules which are shared between multiple Makefiles. -# All normal configuration options live in the file named ".config". -# Don't mess with this file unless you know what you are doing. - - -#-------------------------------------------------------- -# If you are running a cross compiler, you will want to set 'CROSS' -# to something more interesting... Target architecture is determined -# by asking the CC compiler what arch it compiles things for, so unless -# your compiler is broken, you should not need to specify TARGET_ARCH +#----------------------------------------------------------- +# This file contains rules which are shared between multiple +# Makefiles. All normal configuration options live in the +# file named ".config". Don't mess with this file unless +# you know what you are doing. + + +#----------------------------------------------------------- +# If you are running a cross compiler, you will want to set +# 'CROSS' to something more interesting ... Target +# architecture is determined by asking the CC compiler what +# arch it compiles things for, so unless your compiler is +# broken, you should not need to specify TARGET_ARCH. # # Most people will set this stuff on the command line, i.e. # make CROSS=arm-linux- @@ -37,32 +39,32 @@ ifndef CROSS CROSS= endif -CC= $(CROSS)gcc -AR= $(CROSS)ar -LD= $(CROSS)ld -NM= $(CROSS)nm -STRIPTOOL= $(CROSS)strip -RANLIB= $(CROSS)ranlib +CC = $(CROSS)gcc +AR = $(CROSS)ar +LD = $(CROSS)ld +NM = $(CROSS)nm +RANLIB = $(CROSS)ranlib +STRIPTOOL = $(CROSS)strip -INSTALL= install -LN= ln -RM= rm -f +INSTALL = install +LN = ln +RM = rm -f # Select the compiler needed to build binaries for your development system -HOSTCC=gcc -HOSTCFLAGS=-O2 -Wall - - -#-------------------------------------------------------- -# Nothing beyond this point should ever be touched by mere mortals. -# Unless you hang out with the gods, you should probably leave all -# this stuff alone. -MAJOR_VERSION:=0 -MINOR_VERSION:=9 -SUBLEVEL:=27 -VERSION:=$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL) +HOSTCC = gcc +HOSTCFLAGS = -O2 -Wall + + +#--------------------------------------------------------- +# Nothing beyond this point should ever be touched by mere +# mortals. Unless you hang out with the gods, you should +# probably leave all this stuff alone. +MAJOR_VERSION := 0 +MINOR_VERSION := 9 +SUBLEVEL := 27 +VERSION := $(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL) # Ensure consistent sort order, 'gcc -print-search-dirs' behavior, etc. -LC_ALL:= C +LC_ALL := C export MAJOR_VERSION MINOR_VERSION SUBLEVEL VERSION LC_ALL SHARED_FULLNAME:=libuClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so -- cgit v1.2.3