Makefile 709 Bytes
#!smake
#
# Makefile to build libddwrite.a
#
#  libleo_sp.a  make Ƥ
#

SUBDIR=libddwrite

COMMONPREF=$(SUBDIR)

PRDEPTH=$(ROOT)/PR
include $(PRDEPTH)/PRdefs

TARGETS=libddwrite.a

CFILES += \
	dodiskwrite.c		\
	dummyread.c		\
	formatdisk.c		\
	getinfo.c		\
	init.c			\
	setid.c			\
	system.c		\
	table.c			\
	unformat.c		\
	util.c			\
	write.c

OBJECTS = $(CFILES:.c=.o)


LCINCS  = -I. -I$(ROOT)/usr/include
LCOPTS = -non_shared -mips2 -fullwarn -G 0 -wlint,-f -woff 813,819,826,852

include $(PRDEPTH)/PRrules

default: libddwrite.a

libddwrite.a: $(.TARGET)($(OBJECTS))
	ar cru $(.TARGET) $(.OODATE)
	rm -f $(.OODATE)

exports install! default

clean clobber! $(_FORCE)
	rm -rf $(TARGETS)