home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GEMini Atari
/
GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso
/
files
/
gnu
/
crssrc12
/
makefile.32
< prev
next >
Wrap
Makefile
|
1993-07-29
|
1KB
|
55 lines
#
#
#
#
#/*****************************************************************************
#/* FILE: makefile
#/* DATE: August 1988.
#/* AUTHOR: Richard A. Culshaw.
#/* DISCLAIMER: This file is deemed to be public-domain, on the simple
#/* provisos that this section remains in this file and
#/* that code using it do not do so for monetary gain.
#/* Neither the author, nor the authors employees at the
#/* time of developing this code, accept any liability or
#/* responsibility for the use, abuse or misuse of this
#/* code.
#/*****************************************************************************/
CROSSDIR = /net/acae127/home/bammi/atari/cross-gcc
CROSSLIB = $(CROSSDIR)/lib
CROSSBIN = $(CROSSDIR)/bin
# Use -g if you want large, but sdb-,gdb-,dbx-able objects.
OPTIONS= -O -I. -fomit-frame-pointer -fcombine-regs
CFLAGS = $(OPTIONS)
CC = $(CROSSBIN)/cgcc
AR = $(CROSSBIN)/car
# BSD systems, in particular, will want -lcurses -ltermcap.
CURSES= -lcurses
# SYS5 systems, in particular, do not have ranlib(1) for their libraries.
# So define this as, for example, touch, if you don't have ranlib.
RANLIB=
WDGTLIB= widget.olb
all: ${WDGTLIB}
widget.olb: widgetlib.o widget.h
rm -f $@
$(AR) rvs $@ widgetlib.o
wpage32: wpage.o
$(CC) ${OPTIONS} -o $@ wpage.o -lwidget ${CURSES}
clean:
rm -f wpage32 *.o widget.olb
widgetlib.o : widgetlib.c widget.h
wpage.o : wpage.c widget.h always
#dummy
always: