added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / tools / collect-aros / Makefile
bloba3fe0f222a27dda9247bf1632b92255c9e742091
1 # Copyright © 2000-2003, The AROS Development Team. All rights reserved.
2 # $Id$
4 # Makefile to build collect-aros.
6 USER_CFLAGS := -Wall -Wunused -O2
7 -include $(TOP)/config/make.cfg
9 HOST_CC ?= $(CC)
10 HOST_STRIP ?= strip
11 MECHO ?= echo
12 HOST_CFLAGS ?= $(USER_CFLAGS)
13 COLLECT-AROS ?= collect-aros
14 RM ?= rm
15 COLLECT-AROS-BACKEND ?= backend-generic.c
16 COLLECT-AROS-DOCOMMAND ?= docommand-exec.c
18 all : $(COLLECT-AROS)
20 COLLECT-AROS-FILES := collect-aros.c gensets.c misc.c $(COLLECT-AROS-BACKEND) \
21 $(COLLECT-AROS-DOCOMMAND)
22 $(COLLECT-AROS) : misc.h ldscript.h gensets.h docommand.h backend.h env.h
23 $(COLLECT-AROS) : $(COLLECT-AROS-FILES)
24 @$(MECHO) "Compiling $(notdir $@)..."
25 @$(HOST_CC) -o $@ $(HOST_CFLAGS) $(COLLECT-AROS-FILES) $(HOST_LDFLAGS)
28 clean :
29 @$(RM) $(COLLECT-AROS)
31 .PHONY : all clean