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:
skarg
2009-06-01 13:13:32 +00:00
parent 2bf1e66ace
commit aa4f9a88e7
+9 -10
View File
@@ -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 &&|