From 2d7050e4f2e9cd5950cf22beee8ae9c34dd18094 Mon Sep 17 00:00:00 2001 From: schodet Date: Thu, 28 Jul 2005 20:01:08 +0000 Subject: Virure des folds. --- n/avr/make/Makefile.gen | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'n/avr/make/Makefile.gen') diff --git a/n/avr/make/Makefile.gen b/n/avr/make/Makefile.gen index 7e34c2b..7664b8a 100644 --- a/n/avr/make/Makefile.gen +++ b/n/avr/make/Makefile.gen @@ -1,6 +1,6 @@ # Makefile.gen - General Makefile. -# Flags {{{1 +# Flags INCLUDES = -I$(BASE) -I$(BASE)/common CFLAGS = -g -Wall -W -Wundef $(OPTIMIZE) @@ -9,18 +9,18 @@ CPPFLAGS = $(DEFS) $(INCLUDES) -MMD \ LDFLAGS = LDLIBS = $(LIBS) -# Main rules. {{{1 +# Main rules. all: avr host .PHONY: all clean doc -# General rules. {{{1 +# General rules. ALL_PROGS = $(PROGS) $(AVR_PROGS) $(HOST_PROGS) SOURCES = $(foreach prog,$(ALL_PROGS),$($(prog)_SOURCES)) -# Modules. {{{1 +# Modules. MODULES += host @@ -36,7 +36,7 @@ $(foreach prog,$(ALL_PROGS),$(eval $(call MODULES_template,$(prog)))) vpath %.c $(MODULES:%=$(BASE)/modules/%) -# Compilation test rules. {{{1 +# Compilation test rules. define TEST_MCU_template test.sub:: @@ -54,7 +54,7 @@ $(foreach config,$(TEST_CONFIGFILES),$(eval $(call TEST_template,$(config)))) test: test.sub clean -# Include other Makefiles. {{{1 +# Include other Makefiles. ifneq (,$(filter-out %.c,$(SOURCES))) $(error Sources should be c files) @@ -70,7 +70,7 @@ clean.avr: clean.host: endif -# Rules for building the doc. {{{1 +# Rules for building the doc. doc: $(DOC) @@ -80,7 +80,7 @@ doc: $(DOC) %.exd: $(EXTRACTDOC) test -n "$^" && extractdoc $^ > $@ || true -# Cleaning. {{{1 +# Cleaning. clean: clean.avr clean.host rm -f *.bak *~ $(DOC) *.exd $(EXTRA_CLEAN_FILES) -- cgit v1.2.3