revert between 56095 -> 55830 in arch
[AROS.git] / tools / mkfsaffs / Makefile
blob095c1a32bfff786768d748e5f3840a82ee5d74fe
1 # Copyright © 2001, The AROS Development Team. All rights reserved.
2 # $Id$
4 # Desc: Makefile to create the mkfsaffs filesystem generator
7 USER_CFLAGS := -Wall -Wunused -O2
8 -include $(TOP)/config/make.cfg
10 HOST_CC ?= $(CC)
11 HOST_STRIP ?= strip
12 MECHO ?= echo
13 MKFSAFFS ?= mkfsaffs
14 HOST_CFLAGS := $(HOST_CFLAGS) -I$(ADFINC)
16 all : $(MKFSAFFS)
18 $(MKFSAFFS) : mkfsaffs.c
19 @$(MECHO) "Compiling $(notdir $@)..."
20 @$(HOST_CC) $(HOST_CFLAGS) $< -o $@ -L$(dir $(ADFLIB)) -ladf
21 @$(HOST_STRIP) $(MKFSAFFS)
23 clean :
24 @$(RM) $(MKFSAFFS)
26 .PHONY : all clean