Revision 1635785c94f2725c71b400a16b6993544dc75350 authored by Pierrick Gaudry on 22 November 2010, 20:55:20 UTC, committed by Pierrick Gaudry on 22 November 2010, 20:55:20 UTC

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/cado-nfs/trunk@424 3eaf19af-ecc0-40f6-b43f-672aa0c71c71
1 parent 1d2f45d
Raw File
Makefile
TOP:=..
include $(TOP)/Makefile.common

include Makefile.local
# Set default filenames/paths if not already set.
GMP ?= /usr/local/
GMPLIB ?= $(GMP)/lib/libgmp.a
GMPINCLUDE ?= $(GMP)/include/
CFLAGS ?= -g -O2 -DNDEBUG -W -Wall -I$(TOP)/utils

targets:=convert_poly convert_rels contains_zerochar 

all: $(targets)

.SUFFIXES: .c

.c:
	gcc $(CFLAGS) $< -I.. -I$(GMPINCLUDE) $(GMPLIB) -o $@

convert_rels: convert_rels.c
	gcc $(CFLAGS) $< -I.. -I$(GMPINCLUDE) $(GMPLIB) -o $@ -L$(TOP)/utils -lutils

clean:
	\rm -f $(targets) *~
back to top