# $VER: DMakefile_for_YearPrintQ 2.5 (1.9.92)
# (c)1992 by Dieter Temme

# compilation with DICE
#COMP= dcc -c -ms -proto -r
#LINK= dcc
#LLIB=

# compilation with Aztec-C (5.2a)
COMP= cc -ms -pp -so -wcn
LINK= ln
LLIB= +l CLIBS:amiga.lib +l -lc
# compilation with Aztec-C for SDB
#COMP= cc -ms -pp -wcn -bs -dDEBUG
#LINK= ln -g

/YearPrintQ: RAM:YearPrintQ.o
    $(LINK) -o %(left) %(right) $(LLIB)

RAM:YearPrintQ.o: YearPrintQ2_5.c YearPrintQ.h amigacompq.h
    $(COMP) %(*.c) -o %(left)

empty.ct: YearPrintQ.cd
    CatComp %(right) CTFILE %(left)

YearPrintQ.h: YearPrintQ.cd
    CatComp %(right) CFILE %(left)

/catalogs/deutsch/YearPrintQ.catalog: YearPrintQ.cd deutsch.ct
    CatComp %(right) CATALOG %(left)

/catalogs/français/YearPrintQ.catalog: YearPrintQ.cd français.ct
    CatComp %(right) CATALOG %(left)

all: /YearPrintQ empty.ct /catalogs/deutsch/YearPrintQ.catalog \
     /catalogs/français/YearPrintQ.catalog

clean:
    delete /YearPrint RAM:YearPrintQ.o YearPrintQ.h empty.ct catalogs/#?/#?.catalog
