[comp.sources.x] v02i011: mille bourne for X, Patch1

mikew@wyse.wyse.com (Mike Wexler) (11/12/88)

Submitted-by: dana@thumper.bellcore.com (Dana A. Chee)
Posting-number: Volume 2, Issue 11
Archive-name: xmille/patch1

Below is a patch to add Imakefiles to the xmille source which comes
with the R3 tape.

			Dana Chee
			Bellcore
			MRE 2Q-250
			(201) 829-4488
			dana@bellcore.com
==================== xmille.r3.patch1
*** /dev/null	Fri Nov 11 09:22:12 1988
--- Imakefile	Fri Nov 11 09:11:29 1988
***************
*** 0

--- 1,30 -----
+ # @(#)Makefile	1.2	ULTRIX	6/29/84
+ #
+ # mille bourne game makefile
+ #
+ # @(#)Makefile	1.7 (Berkeley) 8/14/83
+ #
+ 
+ #define IHaveSubdirs
+ #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
+ 
+ SUBDIRS = control cards
+ 
+ HEADERS=mille.h
+ SRCS=	comp.c end.c extern.c init.c mille.c misc.c move.c print.c \
+ 	roll.c save.c types.c varpush.c ui.c drawcard.c animate.c 
+ 
+ OBJS=	comp.o end.o extern.o init.o mille.o misc.o move.o print.o \
+ 	roll.o save.o types.o varpush.o ui.o drawcard.o animate.o 
+ 
+ CRL=	
+ L=	control/libcontrol.a cards/libcardlib.a 
+ LOCAL_LIBRARIES = ${CRL} ${L} $(XLIB)
+ SYSLAST_LIBRARIES = -lm
+ 
+ MakeSubdirs($(SUBDIRS))
+ DependSubdirs($(SUBDIRS))
+ CleanSubdirs($(SUBDIRS))
+ 
+ ComplexProgramTarget(xmille)
+ 
*** /dev/null	Fri Nov 11 09:22:33 1988
--- cards/Imakefile	Fri Nov 11 09:08:23 1988
***************
*** 0

--- 1,13 -----
+ OBJS=	accident.o repairs.o ace.o flat.o spare.o puncture.o\
+ 	out.o gas.o extra.o stop.o go.o speed.o end.o right.o\
+ 	25.o 50.o 75.o 100.o 200.o deck.o blank.o
+ 
+ SRCS=	accident.c repairs.c ace.c flat.c spare.c puncture.c\
+ 	out.c gas.c extra.c stop.c go.c speed.c end.c right.c\
+ 	25.c 50.c 75.c 100.c 200.c deck.c blank.c
+ 
+ NormalLibraryTarget(cardlib, $(OBJS))
+ 
+ NormalLibraryObjectRule()
+ 
+ DependTarget()
*** /dev/null	Fri Nov 11 09:22:33 1988
--- control/Imakefile	Fri Nov 11 08:36:43 1988
***************
*** 0

--- 1,9 -----
+ OBJS =	button.o scrollbar.o init.o affirm.o dispatch.o prompted.o
+ 
+ SRCS =	button.c scrollbar.c init.c affirm.c dispatch.c prompted.c
+ 
+ NormalLibraryTarget(control, $(OBJS))
+ 
+ NormalLibraryObjectRule()
+ 
+ DependTarget()
-- 
Mike Wexler(wyse!mikew)    Phone: (408)433-1000 x1330
Moderator of comp.sources.x