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

Last change on this file since 7943 was 7943, checked in by olegb, 15 years ago

Bug: 2138
Submitted by: jc@… (john chertihin)
Reviewed by: olegb@
Approved by:
Obtained from:
new port:
arc-5.21j

thanks john

  • Property svn:eol-style set to native
File size: 814 bytes
Line 
1--- Makefile.orig       Fri Oct 31 05:32:51 2003
2+++ Makefile    Tue Aug  3 00:07:02 2004
3@@ -33,16 +33,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@@ -69,7 +69,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.