Makefile, stack.asm:

- move generated macro file to /obj hierarchy
Makefile:
	- fix location of (non-generated) macro sources
	- specify files via SRCS vice OBJS.  This eliminates an extraneous
	  ".o" in the final OBJS value.
	- don't attempt to attach a rez fork (leave it for the upper
	  level makefile)
This commit is contained in:
gdr-ftp 1998-02-19 01:05:17 +00:00
parent 3c8936e8bc
commit 7e3c77c4a2
2 changed files with 17 additions and 18 deletions

View File

@ -1,26 +1,25 @@
# #
# gno/libc/gno/Makefile # gno/libc/gno/Makefile
# #
# $Id: Makefile,v 1.6 1998/02/09 08:44:20 taubert Exp $ # $Id: Makefile,v 1.7 1998/02/19 01:05:16 gdr-ftp Exp $
# #
LIB= c LIB = c
LIBPFX= $(OBJ_DIR)../ LIBPFX = $(OBJ_DIR)../
OBJ_ASM=gnocmd.o parsearg.o stack.o NO_REZ = true
OBJ_C= gnomisc.o gsstring.o map.o stack2.o SRC_ASM = gnocmd.asm parsearg.asm stack.asm
OBJS= $(OBJ_ASM) $(OBJ_C) SRC_C = gnomisc.c gsstring.c map.c stack2.c
SRCS = $(SRC_ASM) $(SRC_C)
MACROS_ORCA = $(ORCA_DIST)/OrcaInclude
MACRO_FILES = $(MACROS_ORCA)/m16.tools $(MACROS_ORCA)/m16.orca
.INCLUDE: /src/gno/lib/lib.mk .INCLUDE: /src/gno/lib/lib.mk
stack.mac: MACROS_ORCA = $(ORCA_DIST)/libraries/ORCAInclude
MACRO_FILES = $(MACROS_ORCA)/m16.tools $(MACROS_ORCA)/m16.orca
MAC = $(OBJ_DIR)stack.mac
$(MAC):
macgen -p stack.asm $@ $(MACRO_FILES) macgen -p stack.asm $@ $(MACRO_FILES)
clean clobber: gnocmd.o: gnocmd.mac
$(RM) -f $(OBJS) stack.mac parsearg.o: parsearg.mac
stack.o: $(MAC)
gnocmd.o:: gnocmd.mac
parsearg.o:: parsearg.mac
stack.o:: stack.mac

View File

@ -2,12 +2,12 @@
; Stack checking routines by Phillip Vandry <vandry@cam.org>. Added ; Stack checking routines by Phillip Vandry <vandry@cam.org>. Added
; to GNO by Devin Reade <gdr@myrias.com>. See the man page for details. ; to GNO by Devin Reade <gdr@myrias.com>. See the man page for details.
; ;
; $Id: stack.asm,v 1.2 1997/12/21 20:11:17 gdr Exp $ ; $Id: stack.asm,v 1.3 1998/02/19 01:05:17 gdr-ftp Exp $
; ;
keep stack keep stack
mcopy stack.mac mcopy :obj:gno:lib:libc:gno:stack.mac
case on case on
* This test function goes into "stack.ROOT", which is not used * This test function goes into "stack.ROOT", which is not used