Rev 8160 | Rev 8219 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8160 | Rev 8195 | ||
---|---|---|---|
Line 7... | Line 7... | ||
7 | CPPFLAGS=@CPPFLAGS@ |
7 | CPPFLAGS=@CPPFLAGS@ |
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 |
|
12 | O=dir.o evalue.o levelcurve.o liblines.o math.o text.o mt19937ar.o libwims.o |
13 | 13 | ||
14 | all: libwims.a |
14 | all: libwims.a |
15 | 15 | ||
16 | static: libwims.a |
16 | static: libwims.a |
17 | 17 | ||
18 | %.o: %.c |
18 | %.o: %.c |
19 | $(cc) -o $@ $(cflags) $(defines) -c $< |
19 | $(cc) -o $@ $(cflags) $(defines) -c $< |
20 | 20 | ||
21 | libwims.a: $( |
21 | libwims.a: $(O) $(SETENV_OBJS) |
22 | ar rc $@ $( |
22 | ar rc $@ $(O) $(SETENV_OBJS) |
23 | $(ranlib) $@ |
23 | $(ranlib) $@ |
24 | cp $@ $(wims_home)/lib |
24 | cp $@ $(wims_home)/lib |
25 | 25 | ||
26 | clean:: |
26 | clean:: |
27 | rm -f libwims.so libwims.a *.o 2>/dev/null |
27 | rm -f libwims.so libwims.a *.o 2>/dev/null |