blob: a340d99431e6608c5c3203ddbab71efeda344c82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
diff --git a/Makefile b/Makefile
index 30779d9..2075425 100644
--- a/Makefile
+++ b/Makefile
@@ -72,7 +72,7 @@ $(PGDIR): $(PGDIRBZ2)
-$(PGDIR)/src/backend/pglib.a:
+$(PGDIR)/src/backend/pglib.a: $(PGDIR)
cd $(PGDIR)/src/backend; make pglib.a
@@ -81,7 +81,7 @@ libpg_query.so: $(OBJ_FILES)
prepare_pg: $(PGDIR)
-.c.o:
+%.o: %.c $(PGDIR)
@$(ECHO) compiling $(<)
@$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $< $(LDFLAGS)
|