From 068c762c0c830cef263d105ceb720839aeaf288b Mon Sep 17 00:00:00 2001 From: AndrewCRMartin Date: Tue, 8 Aug 2017 12:30:23 +0100 Subject: [PATCH] Improved .gitignore --- .gitignore | 6 +++++ builddist/pdbgetchain.Makefile | 41 +++++++++++++++++++++++++++++++ builddist/pdbgetchain.conf | 45 ++++++++++++++++++++++++++++++++++ 3 files changed, 92 insertions(+) create mode 100644 builddist/pdbgetchain.Makefile create mode 100644 builddist/pdbgetchain.conf diff --git a/.gitignore b/.gitignore index edf6645..380eb33 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,9 @@ +src/Makefile +*.*~ +src/*.ent +src/*.xml +src/bioplib/ + # Object files *.o *.ko diff --git a/builddist/pdbgetchain.Makefile b/builddist/pdbgetchain.Makefile new file mode 100644 index 0000000..6ef3185 --- /dev/null +++ b/builddist/pdbgetchain.Makefile @@ -0,0 +1,41 @@ +XML = # -DXML_SUPPORT $(shell xml2-config --cflags) +XMLLIB = # -lxml2 +# +GUNZIP = -DGUNZIP_SUPPORT +# +CC = cc +COPT = -O3 $(XML) $(GUNZIP) +LIBS = $(XMLLIB) -lm +LFILES = bioplib/BuildConect.o \ + bioplib/FreeStringList.o \ + bioplib/padterm.o \ + bioplib/chindex.o \ + bioplib/fsscanf.o \ + bioplib/ParseRes.o \ + bioplib/ReadPDB.o \ + bioplib/WritePDB.o \ + bioplib/IndexPDB.o \ + bioplib/OpenStdFiles.o \ + bioplib/FindResidue.o \ + bioplib/FindNextResidue.o \ + bioplib/StripHPDB.o \ + bioplib/CopyPDB.o \ + bioplib/StoreString.o \ + bioplib/DupePDB.o \ + bioplib/filename.o \ + bioplib/GetWord.o \ + bioplib/array2.o \ + bioplib/StructurePDB.o + + +pdbgetchain : pdbgetchain.o $(LFILES) + $(CC) $(COPT) -o $@ $< $(LFILES) $(LIBS) + +.c.o : + $(CC) $(COPT) -c -o $@ $< + +clean : + \rm -f pdbgetchain.o $(LFILES) + +distclean : clean + \rm -f pdbgetchain diff --git a/builddist/pdbgetchain.conf b/builddist/pdbgetchain.conf new file mode 100644 index 0000000..7ef54dc --- /dev/null +++ b/builddist/pdbgetchain.conf @@ -0,0 +1,45 @@ +version=2.1 +IN=${HOME}/git/bioptools/src +BIOPLIB=${HOME}/git/bioplib/src +TARGET=pdbgetchain_V$(version) + +FILES + pdbgetchain.c +// + +>cp $(BIOPLIB)/../00PART_DISTRIB_README $(TARGET)/bioplib/00README +>cp $(BIOPLIB)/../COPYING.DOC $(TARGET)/bioplib +>cp pdbgetchain.Makefile $(TARGET)/Makefile + +BIOPFILES + BuildConect.c + FreeStringList.c + general.h + macros.h + padterm.c + port.h + SysDefs.h + chindex.c + fsscanf.c + hash.h + MathType.h + ParseRes.c + ReadPDB.c + WritePDB.c + deprecated.h + fsscanf.h + IndexPDB.c + OpenStdFiles.c + pdb.h + StoreString.c + FindResidue.c + FindNextResidue.c + StripHPDB.c + CopyPDB.c + DupePDB.c + StructurePDB.c + array.h + filename.c + GetWord.c + array2.c +//