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


1.11
date     93.04.06.15.29.31;  author peter;  state Exp;
branches ;
next     1.10;

1.10
date     93.03.31.18.01.50;  author peter;  state Exp;
branches ;
next     1.9;

1.9
date     93.03.31.15.17.04;  author peter;  state Exp;
branches ;
next     1.8;

1.8
date     93.03.19.18.58.17;  author peter;  state Exp;
branches ;
next     1.7;

1.7
date     93.03.08.18.23.04;  author peter;  state Exp;
branches ;
next     1.6;

1.6
date     93.02.26.19.01.43;  author peter;  state Exp;
branches ;
next     1.5;

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

1.4
date     92.09.21.13.48.00;  author jerryh;  state Exp;
branches ;
next     1.3;

1.3
date     92.08.20.13.12.27;  author jerryh;  state Exp;
branches ;
next     1.2;

1.2
date     92.07.23.11.44.15;  author jerryh;  state Exp;
branches ;
next     1.1;

1.1
date     92.07.23.11.35.34;  author jerryh;  state Exp;
branches ;
next     ;


desc
@makefile for Player module of PlayerPrefs
@


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

OBJ = obj/

INCLUDE =       -iinclude: 

CFLAGS =        -cfimsq -rr -m2 -ml -ms -. -O -v -d1 -o$(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: /
        lc $(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.10
log
@gadgets.h moved up to parent dir.
@
text
@d13 1
a13 1
MISCFILES=	makefile scrdata.pic scrbuttons.pic playerstrip.pic cdgnumb.pic
@


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


1.8
log
@Added random.a.  Removed references to playerstrip and cdtvkeys.h.
@
text
@d13 1
a13 2
HFILES=		player.h
AFILES=		random.a
d21 1
a21 1
player:         $(OBJ)cdg.o $(OBJ)gadgets.o $(OBJ)player.o $(OBJ)random.o \
a36 2
$(OBJ)random.o:		random.a

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


1.7
log
@Uses local includes only.
@
text
@d14 1
d17 3
d22 2
a23 2
player:         $(OBJ)cdg.o $(OBJ)gadgets.o $(OBJ)player.o \
                $(OBJ)playerstrip.o $(OBJ)scrdata.o $(OBJ)scrbuttons.o $(OBJ)cdgnumb.o
d29 4
a32 1
$(OBJ)player.o:         player.c /cdtvkeys.h /playerprefs.h /playerprefsbase.h /basicio/keyclick.h
d36 1
a36 1
$(OBJ)gadgets.o:        gadgets.c /cdtvkeys.h /playerprefs.h
d38 1
a38 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
@


1.6
log
@Now support multiple directories.
@
text
@d6 1
a6 1
INCLUDE =       -iCDGS:include/ -iCDTV:include/ -iinclude: 
@


1.5
log
@Added more paths to INCLUDE=.  Added -me to save space.  No longer
build player.ld.  Optimized sbox rules.
@
text
@d1 2
d6 1
a6 1
INCLUDE =       -iCDGS:include/ -iCDTV:include/ -iV37:include/ -iV37:inc.lattice -iinclude: 
d8 1
a8 1
CFLAGS =        -cimsq -me -ml -ms -. -O -v -d1 -o$(OBJ) $(INCLUDE)
d12 6
d55 9
@


1.4
log
@cleaned up makefile
@
text
@d4 1
a4 1
CFLAGS =        -cimsq -ml -ms -. -O -v -d1 -o$(OBJ) $(INCLUDE)
d6 2
a11 1
                blink with player.lnk
a16 10
.pic.o:
        @@enforcer off >NIL:
        @@enforcer quiet >NIL:
        sbox -x $*.pic ram:$*.x
        d2o ram:$*.x _$* $(OBJ)$*.o -h "_NOMERGE"
        delete ram:$*.x
        @@enforcer >NIL:



d24 4
d30 4
d36 4
a39 6
                        @@enforcer off >NIL:
                        @@enforcer quiet >NIL:
                        sbox -x -M $*.pic ram:$*.x
                        d2o ram:$*.x _$* $(OBJ)$*.o -h "_NOMERGE"
                        delete ram:$*.x
                        @@enforcer >NIL:
d42 4
@


1.3
log
@changed where include files can be located.
@
text
@d4 1
a4 1
INCLUDE =       -iCDTV:include/ -iV37:include/ -iV37:inc.lattice -iinclude: 
a5 2
CFLAGS =        -cimsq -ml -v -. -O -ms -d1 -dRELEASE=1 -o$(OBJ) $(INCLUDE)

a6 3
LFLAGS =        BATCH SMALLDATA SMALLCODE NOICONS ADDSYM

LIBRARIES =     lib:lc.lib lib:amiga13.lib lib:debug.lib
a7 1

d10 1
a10 1
                blink with player.lnk LIB $(LIBRARIES)
a14 8

.a.o:
        assign ppl: /
        asm $(AFLAGS) $*.a 

.asm.o:
        assign ppl: /
        casm -a $*.asm -o $(OBJ)$*.o $(AFLAGS) 
@


1.2
log
@removed cdgpush.pic from equation.
@
text
@d40 1
a40 1
$(OBJ)player.o:         player.c /cdtvkeys.h /playerprefs.h /playerprefsbase.h /basicio/keyclick.h //playerresource/playerresource.h
d42 1
a42 1
$(OBJ)cdg.o:            cdg.c /playerprefs.h /playerprefsbase.h //playerresource/playerresource.h
d44 1
a44 1
$(OBJ)gadgets.o:        gadgets.c /cdtvkeys.h /playerprefs.h //playerresource/playerresource.h
@


1.1
log
@Initial revision
@
text
@d15 1
a15 1
                $(OBJ)playerstrip.o $(OBJ)scrdata.o $(OBJ)scrbuttons.o $(OBJ)cdgnumb.o $(OBJ)cdgpush.o
a58 2

$(OBJ)cdgpush.o:        cdgpush.pic
@
