Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/src/runtime/mp/makefile
ViewVC logotype

View of /sml/trunk/src/runtime/mp/makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (download) (annotate)
Sat Oct 4 23:33:09 1997 UTC (22 years, 11 months ago) by monnier
File size: 709 byte(s)
Initial revision
#
# the makefile for the MP support library
#

MAKE =		make
AR =		ar
ARFLAGS =	rcv
RANLIB =	ranlib

VERSION =	v-dummy

LIB =		libmp.a

INC_DIR =	../include
INCLUDES =	-I$(INC_DIR)

#
# each version of the MP library has its own list of object files:
#
SGI_OBJS =	sgi-mp.o



$(LIB) :	$(VERSION) $(OBJS)
	rm -rf $(LIB)
	$(AR) $(ARFLAGS) $(LIB) $(OBJS)
	$(RANLIB) $(LIB)

$(VERSION) :
	($(MAKE) MAKE="$(MAKE)" clean)
	echo "$(VERSION)" > $(VERSION)

sgi-mp.o:	sgi-mp.c \
		$(INC_DIR)/ml-base.h $(INC_DIR)/ml-limits.h \
		$(INC_DIR)/ml-values.h $(INC_DIR)/tags.h $(INC_DIR)/ml-mp.h \
		$(INC_DIR)/ml-state.h $(INC_DIR)/ml-globals.h
	$(CC) -c $(CFLAGS) $(DEFS) $(INCLUDES) sgi-mp.c

clean :
	rm -f v-* *.o $(LIB)

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0