Changed the delete rule to delete only one file at a time since the Borland Make (or DOS del) only takes up to 255 characters per command.
This commit is contained in:
@@ -146,6 +146,8 @@ OBJS = ${CORE1_OBJ} \
|
||||
${HANDLER_OBJ} \
|
||||
${OBJECT_OBJ}
|
||||
|
||||
DEL = ${OBJS:.obj=.del}
|
||||
|
||||
# Compiler definitions
|
||||
#
|
||||
BCC_CFG = bcc32.cfg
|
||||
@@ -162,20 +164,13 @@ LFLAGS = /E /P4096
|
||||
all: $(BCC_CFG) $(OBJS) makefile.b32 $(LIBRARY)
|
||||
@echo Finished!
|
||||
|
||||
clean:
|
||||
del ${CORE1_OBJ}
|
||||
del ${CORE2_OBJ}
|
||||
del ${CORE3_OBJ}
|
||||
del ${PORT_OBJ}
|
||||
del ${HANDLER_OBJ}
|
||||
del ${OBJECT_OBJ}
|
||||
clean: ${DEL}
|
||||
del ${LIBRARY}
|
||||
del $(BCC_CFG)
|
||||
|
||||
del ${BCC_CFG}
|
||||
#
|
||||
# Generic rules
|
||||
#
|
||||
.SUFFIXES: .cpp .c .sbr .obj
|
||||
.SUFFIXES: .cpp .c .sbr .obj .del
|
||||
|
||||
#
|
||||
# cc generic rule
|
||||
@@ -184,6 +179,10 @@ clean:
|
||||
$(CC) +$(BCC_CFG) -o$@ $<
|
||||
$(TLIB) $(LIBRARY) $(LFLAGS) -+"$@"
|
||||
|
||||
# delete rule - to delete one at a time
|
||||
.obj.del:
|
||||
del $**
|
||||
|
||||
# Compiler configuration file
|
||||
$(BCC_CFG) :
|
||||
Copy &&|
|
||||
|
||||
Reference in New Issue
Block a user