Skip to content

Commit

Permalink
Improved .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewCRMartin committed Aug 8, 2017
1 parent 3ca8612 commit 068c762
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
@@ -1,3 +1,9 @@
src/Makefile
*.*~
src/*.ent
src/*.xml
src/bioplib/

# Object files
*.o
*.ko
Expand Down
41 changes: 41 additions & 0 deletions 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
45 changes: 45 additions & 0 deletions 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
//

0 comments on commit 068c762

Please sign in to comment.