home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 5
/
FreshFish_July-August1994.bin
/
new
/
disk
/
cdrom
/
amicdrom
/
dmakefile
< prev
next >
Wrap
Makefile
|
1994-05-18
|
2KB
|
79 lines
# Makefile for AmiCDROM.
#
# DICE compiler version 2.06.21 or 2.07.56R.
#
# to be used with DMAKE
#
# Add the switch -DNDEBUG to CFLAGS in order to disable the
# debug window.
# uncomment the following lines if you use 2.06.21
FLAGS=-2.0
CFLAGS=$(FLAGS)
DASM=dcc -c
# uncomment the following lines if you use 2.07.56R
#FLAGS=-3.0 -mRR
#CFLAGS=$(FLAGS) -mi -ms -proto -DNDEBUG -DREGISTERED
#DASM=das
LFLAGS=$(FLAGS)
OBJS= device.o intui.o cdrom.o iso9660.o rock.o devsupp.o ddebug.o hfs.o generic.o
OBJS2= cdrom.o iso9660.o rock.o main.o hfs.o generic.o
OBJS3= cdcontrol.o
all : cdrom cdcontrol cdrom-handler
cdrom : $(OBJS2)
dcc $(LFLAGS) -o cdrom $(OBJS2)
cdcontrol : $(OBJS3)
dcc $(LFLAGS) -o cdcontrol $(OBJS3)
# uncomment the following lines if you use 2.06.21
cdrom-handler : $(OBJS)
dcc $(LFLAGS) -o cdrom-handler $(OBJS)
# uncomment the following lines if you use 2.07.56R
#cdrom-handler : $(OBJS)
# dlink -o cdrom-handler $(OBJS) dlib:csr.lib dlib:amiga30s.lib
iso9660.o : iso9660.c cdrom.h iso9660.h generic.h
dcc $(CFLAGS) -c %(right:"*.c":"*.c") -o %(left)
cdrom.o : cdrom.c cdrom.h
dcc $(CFLAGS) -c %(right:"*.c":"*.c") -o %(left)
rock.o : rock.c cdrom.h iso9660.h rock.h generic.h
dcc $(CFLAGS) -c %(right:"*.c":"*.c") -o %(left)
device.o : device.c cdrom.h iso9660.h device.h intui.h devsupp.h generic.h
dcc $(CFLAGS) -c %(right:"*.c":"*.c") -o %(left)
devsupp.o : devsupp.c devsupp.h cdrom.h intui.h device.h params.h generic.h
dcc $(CFLAGS) -c %(right:"*.c":"*.c") -o %(left)
intui.o : intui.c intui.h
dcc $(CFLAGS) -c %(right:"*.c":"*.c") -o %(left)
main.o : main.c iso9660.h rock.h cdrom.h generic.h
dcc $(CFLAGS) -c %(right:"*.c":"*.c") -o %(left)
hfs.o : hfs.c hfs.h params.h generic.h
dcc $(CFLAGS) -c %(right:"*.c":"*.c") -o %(left)
generic.o : generic.c iso9660.h rock.h hfs.h cdrom.h
dcc $(CFLAGS) -c %(right:"*.c":"*.c") -o %(left)
ddebug.o : ddebug.asm
$(DASM) -o ddebug.o ddebug.asm
cdcontrol.o : cdcontrol.c cdcontrol.h
dcc $(CFLAGS) -c %(right:"*.c":"*.c") -o %(left)
dist :
rm -f *.o
clean :
rm -f *.o cdrom cdrom-handler cdcontrol