From e43f849064021c6b17e371e5637420ac3709b56d Mon Sep 17 00:00:00 2001 From: Kuoi Date: Fri, 14 Apr 2023 02:23:12 +0800 Subject: [PATCH] fix: re-add osp-bits --- src/bap/osp-bits/makefile | 50 +++++++++++++++++++++++++++++++++ src/bap/osp-bits/makefile-alpha | 2 +- 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 src/bap/osp-bits/makefile diff --git a/src/bap/osp-bits/makefile b/src/bap/osp-bits/makefile new file mode 100644 index 0000000..a336b29 --- /dev/null +++ b/src/bap/osp-bits/makefile @@ -0,0 +1,50 @@ +# +# Makefile for osp (oligo selection program) - Alpha version +# + +# +# Programs made by this makefile +# +PROGS = subosp + +# +# Where the wild things are +# +SRC = . + +# +# X VERSION compilation flag +# +VERSION = SUBVERSION + + + +# +# Compiler - debug on +# +CC= cc +CFLAGS= -g -D$(VERSION) + + +# +# Object files +# +XOSPOBJS= our_allo.o analysis.o get_scores.o paramIO.o paramIOX.o utils.o + +# +# Linking +# +subosp: $(XOSPOBJS) + + +# +# Miscellaneous +# +all: $(PROGS) + +clean: + rm -f $(PROGS) $(OSPOBJS) *~ + +%.o: $(SRC)/%.c + $(CC) $(CFLAGS) -c $< + diff --git a/src/bap/osp-bits/makefile-alpha b/src/bap/osp-bits/makefile-alpha index a336b29..a3ccd57 100644 --- a/src/bap/osp-bits/makefile-alpha +++ b/src/bap/osp-bits/makefile-alpha @@ -23,7 +23,7 @@ VERSION = SUBVERSION # Compiler - debug on # CC= cc -CFLAGS= -g -D$(VERSION) +CFLAGS= -g -non_shared -std1 -ieee_with_inexact -D$(VERSION) #