home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-05-28 | 1.9 KB | 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
- #CFLAGS=-g
- 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 draw_back.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 vid_extern.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
- draw_back.o: draw_back.c vid_curses.h
-
-
- clean:
- rm -f $(OBJS) core make.out lint.out video.shar 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
- shar:
- shar Makefile *.[ch] > video.shar
-