summaryrefslogtreecommitdiff
path: root/net/tinyldap/files/patch-Makefile
blob: 17afc494bd99d319a586d1aa850068ee226e117f (plain) (blame)
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
--- Makefile.orig	Sat Mar 13 00:21:24 2004
+++ Makefile	Tue Mar 23 15:49:03 2004
@@ -32,16 +32,19 @@
 
 auth.a: auth.o
 
-DIET=/opt/diet/bin/diet -Os
-CC=gcc
-CFLAGS=-pipe -I. -Wall -W
+DIET=
+CC?=gcc
+CFLAGS?=-pipe -I. -Wall -W
 ifneq ($(DEBUG),)
-DIET=/opt/diet/bin/diet
-CFLAGS=-pipe -I. -Wall -W -g
+DIET=
+CFLAGS+=-g
 endif
 ifneq ($(DIET),)
 LIBS+=-llatin1
 endif
+CFLAGS+=-I. -I/usr/local/include/libowfat
+LDFLAGS+=-L/usr/local/lib
+LIBS+=-lmd
 
 %.o: %.c
 	$(DIET) $(CC) $(CFLAGS) -c $<