1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
.SUFFIXES : .dy
NBASEOBJ = wiseconfig.o \
wisestring.o \
wiseerror.o \
wisememman.o \
wisefile.o \
wiserandom.o \
wisetime.o \
wiseoverlay.o \
wisestreaminterface.o \
commandline.o \
linesubs.o
#CFLAGS += -c -g -DUNIX -DWISE_MEMORY_WATCH
CFLAGS += $(CPPFLAGS) -c -DUNIX -pthread
LDFLAGS += -g -lm
DFLAGS = -n Wise2_ -a _api.h -b _api.t -l -D
AR_OPTIONS = ru
RANLIB_NEEDED = 0
#
# Base library build - call wisebase
#
libwisebase.a : $(NBASEOBJ)
ar $(AR_OPTIONS) libwisebase.a $?
-if test -x /bin/ranlib; then /bin/ranlib libwisebase.a; else exit 0; fi
-if test -x /usr/bin/ranlib; then /usr/bin/ranlib libwisebase.a; else exit 0; fi
init :
dyc $(DFLAGS) *.dy
.c.o :
$(CC) $(CFLAGS) $?
.dy.c :
dyc $(DFLAGS) $<
.dy.o :
dyc $(DFLAGS) $<
$(CC) $(CFLAGS) $*.c
#
# pro2DNAmatrix.c pro2DNAmatrix.h : pro2DNAmatrix.dy
# dy pro2DNAmatrix.dy
|