$NetBSD: patch-aa,v 1.1.1.1 2003/09/27 23:46:56 jschauma Exp $ --- Makefile.orig 2003-09-27 19:39:02.000000000 -0400 +++ Makefile 2003-09-27 19:39:47.000000000 -0400 @@ -1,18 +1,19 @@ #CC = gcc -O2 # ->> for DJGPP compiler under DOS and for SunOS; also suitable for other machines -CC = cc -O2 FLAGS = -lm -o SOURCE = stride.c splitstr.c rdpdb.c initchn.c geometry.c thr2one.c one2thr.c filename.c tolostr.c strutil.c place_h.c hbenergy.c memory.c helix.c sheet.c rdmap.c phipsi.c command.c molscr.c die.c hydrbond.c mergepat.c fillasn.c escape.c p_jrnl.c p_rem.c p_atom.c p_helix.c p_sheet.c p_turn.c p_ssbond.c p_expdta.c p_model.c p_compnd.c report.c nsc.c area.c ssbond.c chk_res.c chk_atom.c turn.c pdbasn.c dssp.c outseq.c chkchain.c elem.c measure.c asngener.c p_endmdl.c stred.c OBJECT = ${SOURCE:.c=.o} +all: stride + .c.o: - $(CC) -c $< -o $@ + $(CC) ${CFLAGS} -c $< -o $@ stride : $(OBJECT) - $(CC) $(OBJECT) $(FLAGS) stride + $(CC) $(OBJECT) ${LDFLAGS} $(FLAGS) stride $(OBJECT) : stride.h protot.h