f1fa59d786
- make sure not to patch multiple files in one patch
35 lines
907 B
Plaintext
35 lines
907 B
Plaintext
--- Makefile.orig Tue Apr 14 18:57:58 1992
|
|
+++ Makefile Mon Aug 9 19:32:28 1999
|
|
@@ -32,14 +32,15 @@
|
|
OPT = -O
|
|
# For MWC 3.0 on the Atari ST, use:
|
|
#CFLAGS = -VCOMPAC -VPEEP
|
|
-CFLAGS = $(OPT) $(SYSTEM)
|
|
+#CFLAGS = $(OPT) $(SYSTEM)
|
|
+CFLAGS += $(SYSTEM)
|
|
|
|
# GNU's gcc is very nice, if you've got it. Otherwise just cc.
|
|
#CC = cgcc -mshort
|
|
-CC = cc
|
|
+#CC = cc
|
|
|
|
# tmclock is only needed on Unix systems...
|
|
-TMCLOCK = tmclock.o
|
|
+TMCLOCK = #tmclock.o
|
|
|
|
# Files needed for System V
|
|
#SYSVOBJ = getwd.o rename.o scandir.o utimes.o
|
|
@@ -61,6 +62,12 @@
|
|
|
|
clean:
|
|
-rm *.o arc$(PROG) marc$(PROG)
|
|
+
|
|
+install:
|
|
+ install -cs -o root -g wheel arc marc ${PREFIX}/bin
|
|
+ install -c -o root -g wheel arc.1 ${PREFIX}/man/man1
|
|
+ install -d -o root -g wheel ${PREFIX}/share/doc/arc
|
|
+ install -c -o root -g wheel Arc521.doc Arcinfo ${PREFIX}/share/doc/arc
|
|
|
|
arc.o: $(SRCDIR)arc.c $(HEADER)
|
|
$(CC) $(CFLAGS) -c $(SRCDIR)arc.c
|