blob: f4d555121745cf7d2ae17c1068a3fcfc5c46fafb (
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
|
--- Makefile.old 2013-03-22 15:26:23.340764442 +0100
+++ Makefile 2013-03-22 15:36:50.838733773 +0100
@@ -1,16 +1,10 @@
all:: lf_update lf_update_suggestion_order
-lf_update: lf_update.c
- cc -Wall -O2 \
- -I "`pg_config --includedir`" \
- -L "`pg_config --libdir`" \
- -o lf_update lf_update.c -lpq
-
-lf_update_suggestion_order: lf_update_suggestion_order.c
- cc -Wall -O2 \
- -I "`pg_config --includedir`" \
- -L "`pg_config --libdir`" \
- -o lf_update_suggestion_order lf_update_suggestion_order.c -lpq
+CPPFLAGS=-I `pg_config --includedir`
+LDFLAGS=-L `pg_config --libdir`
+CFLAGS=-Wall -O2
+CC=cc
+LDLIBS=-lpq
clean::
rm -f lf_update lf_update_suggestion_order
|