home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
usenet
/
altsrcs
/
3
/
3281
/
Makefile
< prev
next >
Wrap
Makefile
|
1991-05-02
|
2KB
|
70 lines
#
# Copyright (C) 1991 by Jay Konigsberg. mail: jak@sactoh0
#
# Permission to use, copy, modify, and distribute this software and its
# documentation is hereby granted, provided that the above copyright
# notice appear in all copies and that both the copyright notice and
# this permission notice appear in supporting documentation. This software
# is provided "as is" without express or implied warranty. However, the
# author retains all Copyright priviliges and rights to renumeration if
# this software is sold.
#
# Also, and very important. This game is for recrecation ONLY and is NOT
# to be used for gambling in any way.
#
#
# Makefile for video_poker
#
# Select complier and options
#CC=gcc
#CFLAGS=-O -traditional -Wall
CC=cc
# Xenix - note, these work on xenix 2.2.3 & 2.3.1, but not on 2.3.2 - bizzare
#CFLAGS=-g -M2m
#CFLAGS=-O -M2m
# SysV
CFLAGS=-O
# Select libraries
# Xenix
#LIBS=-ltcap -ltermlib
# SysV
LIBS=-lcurses
# Object files
OBJS=sort.o display_hand.o display_val.o rawmode.o cleanup.o payoff_val.o \
deal.o id_hand.o draw.o setup_deck.o main.o
# Exectuable
EXEC=video
$(EXEC): $(OBJS)
$(CC) $(CFLAGS) $(OBJS) $(LIBS) -o $(EXEC)
main.o: main.c vid_local.h vid_curses.h vid_poker.h
deal.o: deal.c vid_poker.h
id_hand.o: id_hand.c vid_poker.h vid_extern.h hand_value.h
draw.o: draw.c vid_poker.h vid_curses.h vid_local.h
setup_deck.o: setup_deck.c vid_extern.h vid_poker.h
cleanup.o: cleanup.c vid_extern.h
display_hand.o: display_hand.c vid_poker.h vid_extern.h vid_curses.h
display_val.o: display_val.c hand_value.h vid_curses.h vid_poker.h
payoff_val.o: payoff_val.c vid_poker.h vid_curses.h
rawmode.o: rawmode.c vid_extern.h vid_local.h
sort: sort.c vid_poker.h
clean:
rm -f $(OBJS) core make.out lint.out vidpoker.tar*
lint:
lint [a-z][a-z]*.c 2>&1 | tee lint.out
tar:
tar cvf vidpoker.tar *.[ch] Makefile
pack: tar
pack vidpoker.tar
compress: tar
compress vidpoker.tar