Files

34 lines
683 B
Diff
Raw Permalink Normal View History

2021-12-29 12:28:38 +00:00
--- 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