head     1.5;
branch   ;
access   ;
symbols  ;
locks    ; strict;
comment  @# @;


1.5
date     93.04.06.15.29.21;  author peter;  state Exp;
branches ;
next     1.4;

1.4
date     93.03.31.18.01.57;  author peter;  state Exp;
branches ;
next     1.3;

1.3
date     93.03.31.15.17.36;  author peter;  state Exp;
branches ;
next     1.2;

1.2
date     93.03.19.18.58.23;  author peter;  state Exp;
branches ;
next     1.1;

1.1
date     93.03.17.17.22.58;  author peter;  state Exp;
branches ;
next     ;


desc
@SAS6 makefile
@


1.5
log
@Removed playerstrip from check-in list 
@
text
@SRCDIR=	CDGS:src/pplibrary
SUBDIR=	Player

OBJ = obj/

INCLUDE =       INCDIRECTORY=include:

CFLAGS =        NOMULTIPLEINCLUDES MULTIPLECHARCONSTANTS STRUCTEQUIVALENCE STRINGMERGE \
		PARMS=REGISTER CPU=68020 LIBCODE OPTSIZE OPTIMIZE OPTIMIZERINLOCAL \
		NOVERSION NOSTACKCHECK DEBUG=LINE OBJECTNAME=$(OBJ) $(INCLUDE)

AFLAGS =        -iCDTV:include/ -iV37:include/ -o$(OBJ) -iinclude: 

CFILES=		cdg.c player.c gadgets.c
MISCFILES=	makefile scrdata.pic scrbuttons.pic cdgnumb.pic

ASSEMBLER         = HX68 -a
ASSEMBLER_OPTS    = -csy -i include: -o

_all:	player

player:         $(OBJ)cdg.o $(OBJ)gadgets.o $(OBJ)player.o  \
                $(OBJ)scrdata.o $(OBJ)scrbuttons.o $(OBJ)cdgnumb.o

.c.o:
        assign ppl: /
        sc $(CFLAGS) $*.c

.a.o:
	$(ASSEMBLER) $*.a $(ASSEMBLER_OPTS) $(OBJ)$*.o

$(OBJ)player.o:         player.c /playerprefs.h /playerprefsbase.h /basicio/keyclick.h

$(OBJ)cdg.o:            cdg.c /playerprefs.h /playerprefsbase.h

$(OBJ)gadgets.o:        gadgets.c /playerprefs.h

$(OBJ)scrdata.o:        scrdata.pic
	# sbox with ranges but no colors
	# We crash if we decompress pics made with the new sbox, but the old
	# sbox doesn't give us 8-bit color, so we enclose the color table
	# in source code elsewhere.
        sbox -x -c $*.pic ram:$*.x
        d2o ram:$*.x _$* $(OBJ)$*.o -h "_NOMERGE"
        delete ram:$*.x

$(OBJ)scrbuttons.o:     scrbuttons.pic
	# sbox with no colors or ranges, but with mask
	sbox -x -c -r -M $*.pic ram:$*.x
	d2o ram:$*.x _$* $(OBJ)$*.o -h "_NOMERGE"
	delete ram:$*.x

$(OBJ)cdgnumb.o:        cdgnumb.pic
	# sbox with colors but no ranges
        sbox -x -r $*.pic ram:$*.x
        d2o ram:$*.x _$* $(OBJ)$*.o -h "_NOMERGE"
        delete ram:$*.x

#invoked by make internal in the parent directory
_internal:
	copy $(CFILES) $(SRCDIR)/$(SUBDIR) nopro
	copy $(MISCFILES) $(SRCDIR)/$(SUBDIR) nopro


_clean:
	delete obj/\#?.o
@


1.4
log
@gadgets.h moved up to parent dir.
@
text
@d15 1
a15 1
MISCFILES=	makefile scrdata.pic scrbuttons.pic playerstrip.pic cdgnumb.pic
@


1.3
log
@Deleted random.a.  Added gadgets.h.  scrdata is now compressed without
the color table, which has been inserted into display.c instead.
@
text
@a14 1
HFILES=		gadgets.h
a61 1
	copy $(HFILES) $(SRCDIR)/$(SUBDIR)  nopro
@


1.2
log
@Added random.a.  Removed references to playerstrip and cdtvkeys.h.
@
text
@d15 1
a15 2
HFILES=		player.h
AFILES=		random.a
d23 1
a23 1
player:         $(OBJ)cdg.o $(OBJ)gadgets.o $(OBJ)player.o $(OBJ)random.o \
a38 2
$(OBJ)random.o:		random.a

d40 5
a44 2
	# sbox with colors and ranges
        sbox -x $*.pic ram:$*.x
@


1.1
log
@Initial revision
@
text
@d16 1
d19 3
d24 2
a25 2
player:         $(OBJ)cdg.o $(OBJ)gadgets.o $(OBJ)player.o \
                $(OBJ)playerstrip.o $(OBJ)scrdata.o $(OBJ)scrbuttons.o $(OBJ)cdgnumb.o
d31 4
a34 1
$(OBJ)player.o:         player.c /cdtvkeys.h /playerprefs.h /playerprefsbase.h /basicio/keyclick.h
d38 1
a38 1
$(OBJ)gadgets.o:        gadgets.c /cdtvkeys.h /playerprefs.h
d40 1
a40 5
$(OBJ)playerstrip.o:    playerstrip.pic
	# sbox with no colors and ranges
        sbox -x -c -r $*.pic ram:$*.x
        d2o ram:$*.x _$* $(OBJ)$*.o -h "_NOMERGE"
        delete ram:$*.x
@
