Subversion Repositories wimsdev

Rev

Rev 8195 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8195 Rev 8219
Line 8... Line 8...
8
 
8
 
9
ranlib=@RANLIB@
9
ranlib=@RANLIB@
10
defines=@DEFINES@
10
defines=@DEFINES@
11
SETENV_OBJS=@SETENV_OBJS@
11
SETENV_OBJS=@SETENV_OBJS@
12
O=dir.o evalue.o levelcurve.o liblines.o math.o text.o mt19937ar.o libwims.o
12
O=dir.o evalue.o levelcurve.o liblines.o math.o text.o mt19937ar.o libwims.o
-
 
13
H=libwims.h ../config.h ../includes.h ../wimsdef.h
13
 
14
 
14
all: libwims.a
15
all: libwims.a
15
 
16
 
16
static: libwims.a
17
static: libwims.a
17
 
18
 
18
%.o: %.c
19
%.o: %.c $(H)
19
	$(cc) -o $@ $(cflags) $(defines) -c $<
20
	$(cc) -o $@ $(cflags) $(defines) -c $<
20
 
21
 
21
libwims.a: $(O) $(SETENV_OBJS)
22
libwims.a: $(O) $(SETENV_OBJS)
22
	ar rc $@ $(O) $(SETENV_OBJS)
23
	ar rc $@ $(O) $(SETENV_OBJS)
23
	$(ranlib) $@
24
	$(ranlib) $@