New bitmap method SetRGBConversionFunction which can be used to
[tangerine.git] / tools / dtdesc / Makefile.aros
bloba6e9f387917ebd6f79673d7afedfa6a975c7c6ee
1 #   Copyright © 1995-2001, The AROS Development Team. All rights reserved.
2 #   $Id$
4 #   Makefile for dtdesc
6 SRC := createdtdesc.c examinedtdesc.c
8 -include $(TOP)/config/make.cfg
10 .SUFFIXES:
11 .SUFFIXES: .c .o
13 # These are the compatibility variables. They will only be defined
14 # if including $(TOP)/config/make.cfg fails (since they will then
15 # be undefined.
17 HOST_CC     ?= $(CC)
18 HOST_STRIP  ?= strip
19 MKDIR       ?= mkdir
20 HOST_CFLAGS ?= -Wall -g -O
21 INCL        := -I. -I c_iff
22 TOOLDIR     ?= .
23 OBJDIR      := $(TOOLDIR)/obj
25 RM          ?= rm -f
26 AR          ?= ar rv
27 RANLIB      ?= ranlib
29 CREATEDTDESC ?= createdtdesc
31 all: $(OBJDIR) $(CREATEDTDESC) examinedtdesc
33 $(CREATEDTDESC): $(OBJDIR)/createdtdesc.o c_iff/libc_iff.a
34         @$(HOST_CC) -o $(CREATEDTDESC) $(OBJDIR)/createdtdesc.o -Lc_iff/ -lc_iff
36 examinedtdesc: $(OBJDIR)/examinedtdesc.o c_iff/libc_iff.a
37         @$(HOST_CC) -o examinedtdesc $(OBJDIR)/examinedtdesc.o -Lc_iff/ -lc_iff
39 $(OBJDIR)/%.o : %.c
40         @$(HOST_CC) $(HOST_CFLAGS) $(GUI_CFLAGS) $(INCL) -c $< -o $@
42 c_iff/libc_iff.a:
43         @$(MAKE) $(MKARGS) -C $(TOP)/tools/dtdesc/c_iff -f Makefile.aros TOP=$(TOP)
45 $(OBJDIR) :
46         @$(MKDIR) $(OBJDIR)
48 clean:
49         @$(RM) -f *.o
50         @$(RM) -f examinedtdesc
51         @$(RM) -f $(CREATEDTDESC)
52         @$(MAKE) $(MKARGS) -C $(TOP)/tools/dtdesc/c_iff -f Makefile.aros TOP=$(TOP) clean