summaryrefslogtreecommitdiff
path: root/n/avr/make/Makefile.gen
diff options
context:
space:
mode:
authorschodet2005-07-28 20:01:08 +0000
committerschodet2005-07-28 20:01:08 +0000
commit2d7050e4f2e9cd5950cf22beee8ae9c34dd18094 (patch)
tree666cb662661c20d25fb5813322a682d5aab8d273 /n/avr/make/Makefile.gen
parent05078aa1804d59641d34206f7ceb508cde4457b1 (diff)
Virure des folds.
Diffstat (limited to 'n/avr/make/Makefile.gen')
-rw-r--r--n/avr/make/Makefile.gen16
1 files changed, 8 insertions, 8 deletions
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)