From 64c1bf515192cb936b6b0e63466a6c8f8cf6a2e1 Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Fri, 1 Jun 2007 15:08:42 +0000 Subject: [PATCH] git-svn-id: https://www.grenoble.prabi.fr/svn/LECASofts/ecoPCR/branches/refactoring@23 60f365c0-8329-0410-b2a4-ec073aeeaa1d --- src/ecofind_makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/ecofind_makefile diff --git a/src/ecofind_makefile b/src/ecofind_makefile new file mode 100644 index 0000000..8b1cc88 --- /dev/null +++ b/src/ecofind_makefile @@ -0,0 +1,22 @@ + +CC=gcc +CFLAGS= -W -Wall -O2 -g +LDFLAGS= -lm +EXEC=ecofind +SRC= ecofind.c +OBJ= $(SRC:.c=.o) +LIBPATH= -LlibecoPCR/ +LIB= -lecoPCR + +MACHINE=MAC_OS_X + +all: $(EXEC) + +ecofind: $(OBJ) + $(CC) $(LDFLAGS) -o $@ $< $(LIBPATH) $(LIB) + +ecofind.o: $(SRC) + $(CC) -D$(MACHINE) -o $@ -c $< $(CFLAGS) + +clean: + rm -f *.o \ No newline at end of file