This commit is contained in:
2007-06-01 15:08:42 +00:00
parent f64bb16909
commit 64c1bf5151

22
src/ecofind_makefile Normal file
View File

@ -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