4aec323f51
and resource (.prc) files. It was renamed to pdbar to avoid confusion with textproc/par. WWW: http://www.djw.org/product/palm/par/ PR: ports/63088 Submitted by: Eric P. Scott <eps+psub0401@ana.com>
45 lines
1 KiB
Text
45 lines
1 KiB
Text
--- Makefile.orig Fri Aug 17 12:11:42 2001
|
|
+++ Makefile Mon Jan 5 12:58:05 2004
|
|
@@ -25,12 +25,12 @@
|
|
INSTALL_LIBDIR = /usr/local/pilot/lib
|
|
INSTALL_BINDIR = /usr/local/bin
|
|
INSTALL_MANDIR = /usr/local/man/man1
|
|
-CC = gcc
|
|
-CFLAGS = -g -I. -Wall
|
|
-LD = gcc
|
|
-LDFLAGS = -g
|
|
-AR = ar
|
|
-RANLIB = ranlib
|
|
+#CC = gcc
|
|
+#CFLAGS = -g -I. -Wall
|
|
+LD = $(CC)
|
|
+#LDFLAGS = -g
|
|
+#AR = ar
|
|
+#RANLIB = ranlib
|
|
|
|
CFILES = \
|
|
create.c \
|
|
@@ -107,14 +107,14 @@
|
|
ALLFILES = $(ALLSRCS) $(ALLDOCS)
|
|
WINFILES = Release/par.exe $(ALLDOCS)
|
|
|
|
-all: libprc.a par
|
|
+all: libprc.a pdbar
|
|
|
|
libprc.a: $(OFILES)
|
|
ar rc libprc.a $(OFILES)
|
|
ranlib libprc.a
|
|
|
|
-par: $(PAR_OFILES) libprc.a
|
|
- $(LD) $(LDFLAGS) -o par $(PAR_OFILES) -L. -lprc
|
|
+pdbar: $(PAR_OFILES) libprc.a
|
|
+ $(LD) $(LDFLAGS) -o pdbar $(PAR_OFILES) -L. -lprc
|
|
|
|
par.html: par.man
|
|
rman --filter HTML --title 'Par(1) Manual Page' par.man > par.html
|
|
@@ -158,4 +158,4 @@
|
|
etags -r '/^prc[^(]*(/' $(PAR_CFILES) $(CFILES) $(HFILES)
|
|
|
|
clean:
|
|
- rm -f *.o *.a par *~
|
|
+ rm -f *.o *.a pdbar *~
|