summaryrefslogtreecommitdiff
path: root/llbuild
diff options
context:
space:
mode:
authorLauri Leukkunen <lle@rahina.org>2007-10-30 18:24:16 +0200
committerLauri Leukkunen <lle@rahina.org>2007-10-30 18:24:16 +0200
commit9d0096d2905c7c94a6b03ed54ba23cb15e5102ba (patch)
tree42d9e7ddab2b449449d9a30f14c663c8fd302037 /llbuild
parent483f30753f3eff7a1faabc4ecb7a538c9e5f85f8 (diff)
Cleanup Makefile.include a little bit
Signed-off-by: Lauri Leukkunen <lle@rahina.org>
Diffstat (limited to 'llbuild')
-rw-r--r--llbuild/Makefile.include16
1 files changed, 2 insertions, 14 deletions
diff --git a/llbuild/Makefile.include b/llbuild/Makefile.include
index 6ca6640..9a307b5 100644
--- a/llbuild/Makefile.include
+++ b/llbuild/Makefile.include
@@ -1,6 +1,6 @@
# ll build system
#
-# Copyright (C) 2006 Lauri Leukkunen <lle@rahina.org>
+# Copyright (C) 2006-2007 Lauri Leukkunen <lle@rahina.org>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@@ -31,7 +31,6 @@ __kicker_target: all
TOPDIR := $(CURDIR)
# a useful function to expand paths
-
define O
$(patsubst %,$(D)/%,$(1))
endef
@@ -54,9 +53,7 @@ endef
$(foreach dir,$(subdirs),$(eval $(call import_dir,$(dir))))
-built_in_target := built-in.o
-
-all_objects := $(obj-builtin)
+all_objects := $(obj-y)
all_objects += $(foreach t,$(extra_targets),$($(t)))
MKOUTPUTDIR = @mkdir -p $(dir $@)
@@ -111,15 +108,6 @@ built-in.o:: %.o
%:: %.o
-#%Makefile.include:: $(SRCDIR)/$@
-# $(MKOUTPUTDIR)
-# cp $(SRCDIR)/$@ $@
-
-#%Makefile:: $(SRCDIR)/$@
-# $(MKOUTPUTDIR)
-# cp $(SRCDIR)/$@ $@
-
-
define ll_clean
rm -rf $(CLEAN_FILES)
find . -name "*.[oasd]" -o -name ".*.d" -o -name "*.*~" -o -name "*~" -o -name "*.lock" | xargs rm -rf