blob: ce621f6784629937ef7bb62a4bc1eec968583bc7 (
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
28
|
--- Makefile.orig Fri Aug 31 01:03:17 2001
+++ Makefile Sun Jul 6 05:09:19 2003
@@ -1,13 +1,13 @@
# Makefile - makefile for lbrate
-CC=gcc
-CFLAGS=-O2 -Wall
+CC?= gcc
+CFLAGS+=$(CPPFLAGS)
# Set BINDIR to directory for binary,
# MANDIR to directory for man page.
# Usually it will be simpler to just set PREFIX.
#
-PREFIX=/usr/local
+PREFIX?=/usr/local
BINDIR=$(PREFIX)/bin
MANDIR=$(PREFIX)/man/man1
@@ -19,7 +19,7 @@
all: lbrate
lbrate: $(OBJ)
- $(CC) $(CFLAGS) -o lbrate $(OBJ)
+ $(CC) $(CFLAGS) -o lbrate $(OBJ) $(LDFLAGS)
installdirs:
/bin/sh ./mkinstalldirs $(BINDIR) $(MANDIR)
|