head	1.3;
access;
symbols
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.2
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.2
	RELEASE_5_1_0:1.1
	RELEASE_4_8_0:1.1
	RELEASE_5_0_0:1.1
	RELEASE_4_7_0:1.1
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1
	RELEASE_4_4_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2005.09.27.14.17.52;	author vs;	state dead;
branches;
next	1.2;

1.2
date	2003.07.14.02.35.45;	author sf;	state Exp;
branches;
next	1.1;

1.1
date	2001.08.29.11.12.02;	author ijliao;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Cleanup, use MAKE_ARGS instead of Makefile-patch
@
text
@--- 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)
@


1.2
log
@get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead.
respect CC, CFLAGS.
@
text
@@


1.1
log
@add lbrate
Extract/decompress CP/M LBR archives

PR:		30087
Submitted by:	Gea-Suan Lin <gslin@@infomath.math.nctu.edu.tw>
@
text
@d1 3
a3 3
--- Makefile.orig	Wed Aug 29 19:07:24 2001
+++ Makefile	Wed Aug 29 19:08:13 2001
@@@@ -1,7 +1,7 @@@@
d6 1
a6 1
 CC=gcc
d8 2
a9 1
+CFLAGS+=-I%%LOCALBASE%%/include
d13 7
d25 1
a25 1
+	$(CC) $(CFLAGS) -o lbrate $(OBJ) -L%%LOCALBASE%%/lib -lgnugetopt
@

