1 # Copyright © 2000-2003, The AROS Development Team. All rights reserved.
4 # Makefile to build collect-aros.
6 USER_CFLAGS
:= -Wall
-Wunused
-O2
7 -include $(TOP
)/config
/make.cfg
12 HOST_CFLAGS ?
= $(USER_CFLAGS
)
13 COLLECT-AROS ?
= collect-aros
15 COLLECT-AROS-BACKEND ?
= backend-generic.c
16 COLLECT-AROS-DOCOMMAND ?
= docommand-exec.c
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
)
29 @
$(RM
) $(COLLECT-AROS
)