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

SCM Repository

[smlnj] Annotation of /sml/trunk/src/runtime/c-libs/smlnj-time/makefile
ViewVC logotype

Annotation of /sml/trunk/src/runtime/c-libs/smlnj-time/makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 651 - (view) (download)

1 : monnier 249 #
2 :     # the makefile for the Time library
3 :     #
4 :    
5 :     SHELL = /bin/sh
6 :    
7 :     INC_DIR = ../../include
8 :     CLIB_DIR = ../
9 :    
10 :     INCLUDES = -I$(INC_DIR) -I$(CLIB_DIR) -I../../objs
11 :    
12 :     MAKE = make
13 :     AR = ar
14 :     ARFLAGS = rcv
15 :     RANLIB = ranlib
16 :    
17 :     LIBRARY = libsmlnj-time.a
18 :    
19 :     VERSION = v-dummy
20 :    
21 :     OBJS = smlnj-time-lib.o \
22 :     gettime.o \
23 :     timeofday.o
24 :    
25 :     $(LIBRARY) : $(VERSION) $(OBJS)
26 :     rm -rf $(LIBRARY)
27 :     $(AR) $(ARFLAGS) $(LIBRARY) $(OBJS)
28 :     $(RANLIB) $(LIBRARY)
29 :    
30 :     $(VERSION) :
31 :     ($(MAKE) MAKE="$(MAKE)" clean)
32 :     echo "$(VERSION)" > $(VERSION)
33 :    
34 :     .c.o: $(INC_DIR)/ml-unixdep.h $(INC_DIR)/ml-base.h $(INC_DIR)/ml-values.h \
35 :     $(CLIB_DIR)/ml-c.h cfun-proto-list.h cfun-list.h
36 :     $(CC) $(CFLAGS) $(DEFS) $(INCLUDES) -c $<
37 :    
38 :     clean :
39 :     rm -f v-* *.o $(LIBRARY)
40 :    

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