use the correct targets to build the drivers so they can be disabled as appropriate.
[AROS.git] / tools / dtdesc / Makefile
blobb3e926a6777d1953d6b049e684e8278293a5f478
1 # Makefile for dtdesc
3 # .SUFFIXES: .c.o
5 CC = cc
7 CFLAGS = -I . -I c_iff/
9 RM = rm -f
10 AR = ar rv
11 RANLIB = ranlib
13 %.o : %.c
14 $(CC) $(CFLAGS) -c $< -o $@
16 # .c.o:
17 # $(CC) $(CFLAGS) -c $*.c -o $@
19 all : createdtdesc examinedtdesc
21 createdtdesc : createdtdesc.o c_iff/libc_iff.a
22 $(CC) -o createdtdesc createdtdesc.o -L c_iff/ -l c_iff
24 examinedtdesc : examinedtdesc.o c_iff/libc_iff.a
25 $(CC) -o examinedtdesc examinedtdesc.o -L c_iff/ -l c_iff
27 c_iff/libc_iff.a :
28 cd c_iff && \
29 make
31 clean :
32 $(RM) *.o
33 $(RM) examinedtdesc
34 $(RM) createdtdesc
35 cd c_iff && \
36 make clean