diff options
Diffstat (limited to 'mk/makedevs.mk')
-rw-r--r-- | mk/makedevs.mk | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/mk/makedevs.mk b/mk/makedevs.mk new file mode 100644 index 0000000..076b1ff --- /dev/null +++ b/mk/makedevs.mk @@ -0,0 +1,31 @@ +######################################################################################### +# GAYE Abdoulaye Walsimou, <walsimou@walsimou.com> +# Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved. +# +# This program is free software; you can distribute it and/or modify it +# under the terms of the GNU General Public License +# (Version 2 or later) published by the Free Software Foundation. +# +# This program is distributed in the hope it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. +######################################################################################### +# +# \file makedevs.mk +# \brief makedevs.mk of Embtoolkit +# \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com> +# \date May 2009 +######################################################################################### + +MAKEDEVS_DIR := $(EMBTK_ROOT)/makedevs + +makedevs_install: $(MAKEDEVS_DIR)/.installed + +$(MAKEDEVS_DIR)/.installed: + @mkdir -p $(MAKEDEVS_DIR) + $(subst ",,$(strip $(HOSTCC_CACHED))) -o $(MAKEDEVS_DIR)/makedevs $(EMBTK_ROOT)/src/makedevs/makedevs.c |