Added basic implementation of destroying a GPT table: just delete the
[AROS.git] / tools / dtdesc / Makefile.sasc
blobe7180d2dfaaeb1bdf9bfac057db0d26f8b8f2ce8
1 # Makefile for dtdesc
3 .SUFFIXES: .c.o
5 CC = sc
7 CFLAGS = \
8          IDIR=c_iff \
9          DEFINE=amiga \
10          DATA=FAR \
11          SMALLCODE \
12          STRIPDEBUG \
13          CPU=68020 \
14          OPTIMIZE \
15          OPTSCHED \
16          OPTINLINE \
17          OPTALIAS \
18          OPTTIME \
19          OPTINLOCAL \
20          NOICONS \
21          NOSTACKCHECK
23 LD = $(CC)
25 LDFLAGS = $(CFLAGS) LINK
27 C_FLAG =
29 O_FLAG = TO
31 AR = oml
33 RM = delete force
35 .c.o:
36         $(CC) $(CFLAGS) $(C_FLAG) $*.c
38 all: createdtdesc examinedtdesc
40 createdtdesc: createdtdesc.o c_iff/c_iff.lib
41         $(LD) $(LDFLAGS) $< $(O_FLAG) $@ LIB c_iff/c_iff.lib
43 examinedtdesc: examinedtdesc.o
44         $(LD) $(LDFLAGS) $< $(O_FLAG) $@ LIB c_iff/c_iff.lib
46 c_iff/c_iff.lib:
47         cd c_iff
48         make -f Makefile.sasc
50 clean:
51         $(RM) #?.o
52         $(RM) #?.lnk
53         $(RM) examinedtdesc
54         $(RM) createdtdesc