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;
locks; strict;
comment	@# @;


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

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

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


desc
@@


1.3
log
@Use MAKE_ARGS
@
text
@--- Makefile.orig	Thu Aug  8 21:24:33 2002
+++ Makefile	Sun Jul  6 05:16:01 2003
@@@@ -1,13 +1,13 @@@@
 # Makefile - makefile for nomarch
 
-CC=gcc
-CFLAGS=-O2 -Wall
+CC?=	gcc
+CFLAGS?=-O2 -Wall
 
 # 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
 
@@@@ -18,8 +18,11 @@@@
 
 all: nomarch
 
+main.o: main.c
+	$(CC) $(CPPFLAGS) $(CFLAGS) -o main.o -c main.c
+
 nomarch: $(OBJ)
-	$(CC) $(CFLAGS) -o nomarch $(OBJ)
+	$(CC) $(CFLAGS) -o nomarch $(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, PREFIX.
@
text
@@


1.1
log
@add nomarch
Extracts files from the old `.arc' archive format
@
text
@d1 19
a19 2
--- Makefile.orig	Mon Nov  5 17:12:58 2001
+++ Makefile	Mon Nov  5 17:12:35 2001
d25 1
a25 1
+	${CC} ${CFLAGS} -I%%LOCALBASE%%/include -o main.o -c main.c
d29 1
a29 1
+	$(CC) $(CFLAGS) -o nomarch $(OBJ) -L%%LOCALBASE%%/lib -lgnugetopt
@

