mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
34 lines
683 B
Diff
34 lines
683 B
Diff
--- protoMakefile.orig 2001-03-09 00:53:25.000000000 +0000
|
|||
|
|
+++ protoMakefile 2021-12-29 22:31:06.000000000 +0000
|
||
|
|
@@ -47,7 +47,7 @@
|
||
|
|
# Example (for Solaris 2.x with SPARCompiler C):
|
||
|
|
# CC = cc -c -O -s -Xc -DDONTFREE
|
||
|
|
|
||
|
|
-CC = cc -c
|
||
|
|
+CC = cc
|
||
|
|
|
||
|
|
# Define LINK1 and LINK2 so that the command
|
||
|
|
#
|
||
|
|
@@ -61,7 +61,7 @@
|
||
|
|
# LINK1 = cc -s
|
||
|
|
# LINK2 = -o
|
||
|
|
|
||
|
|
-LINK1 = cc
|
||
|
|
+LINK1 = $(CC)
|
||
|
|
LINK2 = -o
|
||
|
|
|
||
|
|
# Define RM so that the command
|
||
|
|
@@ -93,10 +93,10 @@
|
||
|
|
OBJS = buffer$O charset$O errmsg$O par$O reformat$O
|
||
|
|
|
||
|
|
.c$O:
|
||
|
|
- $(CC) $<
|
||
|
|
+ $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
|
||
|
|
|
||
|
|
par$E: $(OBJS)
|
||
|
|
- $(LINK1) $(OBJS) $(LINK2) par$E
|
||
|
|
+ $(LINK1) $(OBJS) $(LINK2) par$E $(LDFLAGS)
|
||
|
|
|
||
|
|
buffer$O: buffer.c buffer.h errmsg.h
|
||
|
|
|