Wanderer/Info: fix compilation
[AROS.git] / tools / archtools / Makefile
blob5df432d489d6da9e2164e20bcb1d2318ce822f1f
1 # Copyright © 2000-2003, The AROS Development Team. All rights reserved.
2 # $Id$
4 -include $(TOP)/config/make.cfg
6 USER_CFLAGS := -Wall -Wunused -O0 -g
8 HOST_CC ?= $(CC)
9 HOST_STRIP ?= strip
10 ARCHTOOL ?= archtool
11 MECHO ?= echo
13 all : $(ARCHTOOL)
15 $(ARCHTOOL) : archtool.c
16 @$(MECHO) "Compiling $(notdir $@)..."
17 @$(HOST_CC) $(HOST_CFLAGS) $(USER_CFLAGS) $< -o $@
19 # @$(HOST_STRIP) $@
21 clean:
22 @$(RM) -f $(ARCHTOOL)