1 # Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 -include $(AROS_SRC)/config/make.cfg
11 # These are the compatibility variables. They will only be defined
12 # if including $(AROS_SRC)/config/make.cfg fails (since they will then
18 HOST_CFLAGS ?= -Wall -g -O
21 ifneq ($(HOSTGENDIR),)
22 OBJDIR := $(HOSTGENDIR)/$(subst $(AROS_SRC)/,,$(CURDIR))
24 OBJDIR := $(TOOLDIR)/obj
52 @$(HOST_CC) $(HOST_CFLAGS) -I. -c $< -o $@
63 @perl autodoc.pl *.c >c_iff.txt
65 example : example.o libc_iff.a hot.iff
66 @$(HOST_CC) $(HOST_CFLAGS) -I. -o $@ example.o -L. -lc_iff