- increased default optimization from 72 to 78

- increased default stack from 768 to 1024
- make 'release' target depend on program, man page, and describe entry
This commit is contained in:
gdr 1997-09-26 06:11:07 +00:00
parent f75f7a7b79
commit fbbabf2a0c

10
prog.mk
View File

@ -1,7 +1,7 @@
# #
# prog.mk version 1.1.0 (August 31, 1997) # prog.mk version 1.1.0 (August 31, 1997)
# #
# $Id: prog.mk,v 1.2 1997/09/24 06:43:53 gdr Exp $ # $Id: prog.mk,v 1.3 1997/09/26 06:11:07 gdr Exp $
# #
# This makefile is intended for use with dmake(1) and occ(1) on Apple IIGS # This makefile is intended for use with dmake(1) and occ(1) on Apple IIGS
@ -28,7 +28,7 @@
# * To set a stack size, use # * To set a stack size, use
# STACK=<size> # STACK=<size>
# where <size> indicates the ORCA/C "#pragma stacksize <size>" value. # where <size> indicates the ORCA/C "#pragma stacksize <size>" value.
# The default size is 768. # The default size is 1024.
# #
# * To define compiler macros, use # * To define compiler macros, use
# DEFINES=-D<name>[=<value>] # DEFINES=-D<name>[=<value>]
@ -58,12 +58,12 @@ OBJS=$(SRCS:s/.c/.o/:f)
# Was special optimizing requested? # Was special optimizing requested?
.IF $(OPTIMIZE) == $(NULL) .IF $(OPTIMIZE) == $(NULL)
OPTIMIZE = 72 OPTIMIZE = 78
.END .END
# Use stack size of 768 bytes if STACK macro isn't already defined # Use stack size of 768 bytes if STACK macro isn't already defined
.IF $(STACK) == $(NULL) .IF $(STACK) == $(NULL)
STACK = 768 STACK = 1024
.END .END
# Compile and load flags passed to occ # Compile and load flags passed to occ
@ -86,7 +86,7 @@ RELMAN = $(RELEASE_DIR)$(MANDIR)
# Place files where they will subsequently be archived in a binary # Place files where they will subsequently be archived in a binary
# distribution. # distribution.
release: release: $(PROG) $(PROG).1 $(DESC)
$(INSTALL) -d $(RELBIN) $(RELMAN)/man1 $(DESC_DIR) $(INSTALL) -d $(RELBIN) $(RELMAN)/man1 $(DESC_DIR)
$(INSTALL) $(PROG) $(RELBIN) $(INSTALL) $(PROG) $(RELBIN)
$(INSTALL) $(PROG).1 $(RELMAN)/man1 $(INSTALL) $(PROG).1 $(RELMAN)/man1