grub2: bring back build of aros-side grub2 tools
[AROS.git] / tools / genmf / Makefile
blob0daba066623dbfea30fa9883d2a431949c768580
1 # Copyright © 2000, The AROS Development Team. All rights reserved.
2 # $Id$
4 # Desc: Makefile for genmf
7 # Things of interest.
8 SRC := genmf.c
10 -include $(TOP)/config/make.cfg
12 HOST_CC ?= $(CC)
13 HOST_STRIP ?= strip
14 HOST_MKDIR ?= mkdir
15 GENMF ?= genmf
16 HOST_CFLAGS ?= -Wall -g -O
18 all : $(GENMF)
20 $(GENMF) : genmf.c
21 @$(MECHO) "Compiling $(notdir $@)..."
22 @$(HOST_CC) $(HOST_CFLAGS) $< -o $(GENMF)
24 clean :
25 @$(RM) $(GENMF)
27 check :
28 $(GENMF) tmpl.test < in.test
29 $(GENMF) --curdir=`pwd` tmpl.test < in.test
31 test : check