Makefile 968 Bytes
Newer Older
Marc G. Fournier's avatar
Marc G. Fournier committed
1 2 3 4 5 6 7
#-------------------------------------------------------------------------
#
# Makefile--
#    Makefile for the genetic query optimizer module
#
# Copyright (c) 1994, Regents of the University of California
#
8
# $Id: Makefile,v 1.5 1997/04/04 10:39:50 scrappy Exp $
Marc G. Fournier's avatar
Marc G. Fournier committed
9 10 11 12 13 14 15 16 17 18
#
#-------------------------------------------------------------------------

SRCDIR = ../../..
include ../../../Makefile.global

INCLUDE_OPT = -I../.. \
              -I../../port/$(PORTNAME) \
              -I../../../include

19
CFLAGS+=$(INCLUDE_OPT)  -Wno-error
Marc G. Fournier's avatar
Marc G. Fournier committed
20

21 22 23
OBJS =	geqo_copy.o geqo_eval.o geqo_main.o geqo_misc.o \
	geqo_params.o geqo_paths.o geqo_pool.o geqo_recombination.o \
	geqo_selection.o \
24
	geqo_erx.o geqo_pmx.o geqo_cx.o geqo_px.o geqo_ox1.o geqo_ox2.o
Marc G. Fournier's avatar
Marc G. Fournier committed
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42

# deprecated: minspantree.o

all: SUBSYS.o

SUBSYS.o: $(OBJS)
	$(LD) -r -o SUBSYS.o $(OBJS)

depend dep:
	$(CC) -MM $(INCLUDE_OPT) *.c >depend

clean: 
	rm -f SUBSYS.o $(OBJS)

ifeq (depend,$(wildcard depend))
include depend
endif