From c6b3d38a156dd624760a8eb1bb374affd43b4f2a Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Thu, 20 Nov 2008 11:27:31 +0000 Subject: New makefile solution: A single invocation of 'make' to build the entire tree. Fully controlled dependencies give faster and more correct recompiles. Many #include lines adjusted to conform to the new standards. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19146 a1c6a512-1295-4272-9138-f99709370657 --- apps/lang/Makefile | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 apps/lang/Makefile (limited to 'apps/lang/Makefile') diff --git a/apps/lang/Makefile b/apps/lang/Makefile deleted file mode 100644 index 15e9f49605..0000000000 --- a/apps/lang/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -# __________ __ ___. -# Open \______ \ ____ ____ | | _\_ |__ _______ ___ -# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / -# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < -# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ -# \/ \/ \/ \/ \/ -# $Id$ -# - -INCLUDES= $(TARGET_INC) -I$(FIRMDIR)/include -I$(FIRMDIR)/export \ --I. -I$(BUILDDIR) -I$(OBJDIR) - -# the header we generate -HEADER = $(BUILDDIR)/max_language_size.h - -# This sets up 'SRC' based on the files mentioned in SOURCES -include $(TOOLSDIR)/makesrc.inc -SOURCES=$(SRC) - -# OUTP is the list of files to depend upon -OUTP = $(patsubst %.lang,$(OBJDIR)/%.lng, $(SOURCES)) - -# the generated file with features specified genlang-style -FEATS=$(BUILDDIR)/apps/genlang-features - -ifndef V -SILENT=@ -endif -PRINTS=$(SILENT)$(call info,$(1)) - -all: $(HEADER) - -# generic rule for creating .lng from .lang -$(OBJDIR)/%.lng : %.lang $(FEATS) - $(call PRINTS,GENLANG $<) - $(SILENT)$(TOOLSDIR)/genlang -e=$(APPSDIR)/lang/english.lang -t=$(MODELNAME)`cat $(FEATS)` -i=$(TARGET_ID) -b=$@ $< - -$(HEADER): $(OUTP) - $(call PRINTS,Make $(HEADER)) - $(SILENT)echo "#define MAX_LANGUAGE_SIZE `ls -ln $(OBJDIR)/* | awk '{print $$5}' | sort -n | tail -1`" > $(HEADER) -- cgit v1.2.3