#
# the makefile for the MP support library
#
# win32 specific; nothing here yet
MAKE = nmake
AR = lib
ARFLAGS =
RANLIB = lib
VERSION = v-dummy
LIB = libmp.lib
INC_DIR = ..\include
INCLUDES = -I$(INC_DIR)
#
# each version of the MP library has its own list of object files:
#
SGI_OBJS = sgi-mp.obj
$(LIB) : $(VERSION) $(OBJS)
del /F /Q $(LIB)
$(AR) $(ARFLAGS) $(LIB) $(OBJS)
$(RANLIB) $(LIB)
$(VERSION) :
($(MAKE) MAKE="$(MAKE)" clean)
echo "$(VERSION)" > $(VERSION)
sgi-mp.obj: 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 :
del /F /Q v-* *.obj *.pdb $(LIB)
syntax highlighted by Code2HTML, v. 0.9.1