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/c-libs/smlnj-date/makefile.win32
ViewVC logotype

View of /sml/trunk/src/runtime/c-libs/smlnj-date/makefile.win32

Parent Directory Parent Directory | Revision Log Revision Log


Revision 249 - (download) (annotate)
Sat Apr 17 18:57:03 1999 UTC (21 years, 1 month ago) by monnier
Original Path: sml/branches/SMLNJ/src/runtime/c-libs/smlnj-date/makefile.win32
File size: 1344 byte(s)
version 110.16
#
# the makefile for the Date library
# win32 specific

SHELL =		

INC_DIR =	..\..\include
CLIB_DIR =	..\

INCLUDES =	/I$(INC_DIR) /I$(CLIB_DIR) /I..\..\objs

MAKEFILE = 	makefile.win32
MAKE =		nmake /F$(MAKEFILE)
AR =		lib
ARFLAGS =	
RANLIB =	lib

LIBRARY =	libsmlnj-date.lib

VERSION =	v-dummy

OBJS =		smlnj-date-lib.obj \
		asctime.obj \
		gmtime.obj \
		mktime.obj \
		localtime.obj \
		strftime.obj

$(LIBRARY)	: $(VERSION) $(OBJS)
	del /F /Q $(LIBRARY)
	$(AR) $(ARFLAGS) /out:$(LIBRARY) $(OBJS)
	$(RANLIB) /out:$(LIBRARY)

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

DEPENDENTS = $(INC_DIR)\ml-unixdep.h $(INC_DIR)\ml-base.h \
	$(INC_DIR)\ml-values.h \
	$(CLIB_DIR)\ml-c.h cfun-proto-list.h cfun-list.h

smlnj-date-lib.obj: smlnj-date-lib.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c smlnj-date-lib.c

asctime.obj: asctime.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c asctime.c

gmtime.obj: gmtime.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c gmtime.c

mktime.obj: mktime.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c mktime.c

localtime.obj: localtime.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c localtime.c

strftime.obj: strftime.c $(DEPENDENTS)
	$(CC) $(CFLAGS) $(DEFS) $(INCLUDES) /c strftime.c

clean :
	del /F /Q v-* *.obj *.pdb $(LIBRARY)


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