source: trunk/dports/archivers/arc/files/patch-Makefile @ 11596

Last change on this file since 11596 was 11596, checked in by toby, 15 years ago

Update to 5.21k (security fix).
Build fixes.

  • Property svn:eol-style set to native
File size: 836 bytes
Line 
1--- Makefile.orig       2004-11-06 06:25:45.000000000 -0500
2+++ Makefile    2005-04-04 06:54:21.000000000 -0400
3@@ -36,16 +36,16 @@
4 # (See the Sysvarcstuf shar file)
5 #SYSTEM = -DGEMDOS=1 -fstrength-reduce -fomit-frame-pointer -finline-functions -fdefer-pop -mpcrel
6 #SYSTEM = -DBSD=1
7-SYSTEM = -DSYSV=1
8+SYSTEM = -DBSD=1
9+OPT = -O2
10 
11-OPT = -O
12 # For MWC 3.0 on the Atari ST, use:
13 #CFLAGS = -VCOMPAC -VPEEP
14 CFLAGS = $(OPT) $(SYSTEM)
15 
16 # GNU's gcc is very nice, if you've got it. Otherwise just cc.
17 #CC = cgcc -mshort -mbaserel
18-CC = cc
19+CC = gcc
20 
21 # tmclock is only needed on Unix systems...
22 TMCLOCK = tmclock.o
23@@ -72,7 +72,7 @@
24        $(CC) $(OPT) -o marc$(PROG) $(MOBJ) $(TMCLOCK) $(LIBS)
25 
26 clean:
27-       -rm *.o arc$(PROG) marc$(PROG)
28+       -rm -f *.o arc$(PROG) marc$(PROG)
29 
30 arc.o: $(SRCDIR)arc.c  $(HEADER)
31        $(CC) $(CFLAGS) -c $(SRCDIR)arc.c
Note: See TracBrowser for help on using the repository browser.