blob: ce5b8ac8a1a145c53870b6aac280ae258c5d12a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for optimizer
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/optimizer/Makefile,v 1.5 1998/04/06 00:23:04 momjian Exp $
#
#-------------------------------------------------------------------------
SRCDIR= ../..
include ../../Makefile.global
all: submake SUBSYS.o
OBJS = path/SUBSYS.o plan/SUBSYS.o prep/SUBSYS.o util/SUBSYS.o geqo/SUBSYS.o
DIRS = path plan prep util geqo
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
.PHONY: submake clean dep depend
submake:
for i in $(DIRS); do $(MAKE) -C $$i SUBSYS.o; done
clean:
rm -f SUBSYS.o
for i in $(DIRS); do $(MAKE) -C $$i clean; done
.DEFAULT:
for i in $(DIRS); do $(MAKE) -C $$i $@; done
|