### -*- Fundamental -*-
###
-### $Id: makefile.cmn,v 1.3 1995/10/16 17:26:29 cph Exp $
+### $Id: makefile.cmn,v 1.4 1995/10/17 23:07:01 cph Exp $
###
### Copyright (c) 1994-95 Massachusetts Institute of Technology
###
$(OS_PRIM_OBJECTS) bchdef.$(OBJ)
clean :
- del *.$(OBJ)
- del *.exe
- del *.tch
- del *.err
- del *.sym
- del cmpauxmd.$(ASM)
- del usrdef.c
- del bchdef.c
+ -del *.$(OBJ)
+ -del *.exe
+ -del *.tch
+ -del *.err
+ -del *.sym
+ -del cmpauxmd.$(ASM)
+ -del usrdef.c
+ -del bchdef.c
findprim.exe : findprim.$(OBJ)
asmcvt.exe : asmcvt.$(OBJ)
### -*- Fundamental -*-
###
-### $Id: makefile.emx,v 1.3 1995/10/16 17:26:31 cph Exp $
+### $Id: makefile.emx,v 1.4 1995/10/17 23:06:27 cph Exp $
###
### Copyright (c) 1994-95 Massachusetts Institute of Technology
###
###
#### Makefile for Scheme under OS/2 using EMX/GCC
-
+\f
# This makefile is configured for use with GNU make, the EMX/GCC
# development system (compiler, assembler, linker, etc.), and the GNU
# m4 macro preprocessor.
%.exe :
$(CC) $(LDFLAGS) -o $(basename $@) $^
- emxbind -b $(basename $@)
+ emxbind -bq $(basename $@)
del $(basename $@)
include os2utl\makefile.cmn
scheme.exe : $(OBJECTS) $(SCHEME_OBJECTS)
$(CC) $(LDFLAGS) -o $(basename $@) $^ $(SCHEME_LIB)
- emxbind -bp $(basename $@)
+ emxbind -bpq $(basename $@)
del $(basename $@)
bchschem.exe : $(BCHOBJECTS) $(SCHEME_OBJECTS)
$(CC) $(LDFLAGS) -o $(basename $@) $^ $(SCHEME_LIB)
- emxbind -bp $(basename $@)
+ emxbind -bpq $(basename $@)
del $(basename $@)
### -*- Fundamental -*-
###
-### $Id: makefile.gcc,v 1.3 1995/10/16 17:26:33 cph Exp $
+### $Id: makefile.gcc,v 1.4 1995/10/17 23:06:21 cph Exp $
###
### Copyright (c) 1995 Massachusetts Institute of Technology
###
###
#### Makefile for Scheme under OS/2 using GCC/2
-
+\f
# This makefile is configured for use with GNU make, the GCC/2
# development system (compiler, assembler, linker, etc.), and the GNU
# m4 macro preprocessor.
### -*- Fundamental -*-
###
-### $Id: makefile.wcc,v 1.2 1995/10/16 17:26:13 cph Exp $
+### $Id: makefile.wcc,v 1.3 1995/10/17 23:06:53 cph Exp $
###
### Copyright (c) 1994-95 Massachusetts Institute of Technology
###
# /mf use flat memory model
# /zq operate quietly
ASFLAGS = /4pr /d1 /fpi /fp3 /mf /zq
-
-# Complicated definition to convert space-delimited object-file list
-# to a comma-delimited list:
-comma := ,
-empty :=
-space := $(empty) $(empty)
-caret = $(subst $(space),$(comma),$(strip $^))
-
+\f
%.obj : %.c
$(CC) $(CFLAGS) $<
$(AS) $(ASFLAGS) /fo=$@ $<
%.exe :
- wlink system os2v2 $(LDFLAGS) name $@ file $(caret)
+ wlink system os2v2 $(LDFLAGS) name $@ file { $^ }
include os2utl\makefile.cmn
.\asmcvt pre < $< | $(M4) $(M4FLAGS) | .\asmcvt post > $@
scheme.exe : $(OBJECTS) $(SCHEME_OBJECTS)
- wlink system os2v2_pm name $@ $(LDFLAGS) file $(caret) $(SCHEME_LIB)
+ wlink system os2v2_pm name $@ $(LDFLAGS) file { $^ } $(SCHEME_LIB)
bchschem.exe : $(BCHOBJECTS) $(SCHEME_OBJECTS)
- wlink system os2v2_pm name $@ $(LDFLAGS) file $(caret) $(SCHEME_LIB)
+ wlink system os2v2_pm name $@ $(LDFLAGS) file { $^ } $(SCHEME_LIB)