# DMAKE Startup File Common to all Compilers
#
# This file is part of PB-Lib v3.0 C++ Programming Library
#
# Copyright (c) 1995, 1997 by Branislav L. Slantchev
# A fine product of Silicon Creations, Inc. (gargoyle)
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the License which accompanies this
# software. This library is distributed in the hope that it will
# be useful, but without any warranty; without even the implied
# warranty of merchantability or fitness for a particular purpose.
#
# You should have received a copy of the License along with this
# library, in the file LICENSE.DOC; if not, write to the address
# below to receive a copy via electronic mail.
#
# You can reach Branislav L. Slantchev (Silicon Creations, Inc.)
# at bslantch@cs.angelo.edu. The file SUPPORT.DOC has the current
# telephone numbers and the postal address for contacts.
#

# List of .OBJ files
.INCLUDE : MAKEOBJS.MAK

.IF $(PB_SDK)
	OBJ_LIST := $(OBJ1) $(OBJ2) $(OBJ3) $(OBJ5)
	OBJ_LIST += $(OBJ6) $(OBJ7) $(OBJ8) $(OBJ9)
.ELSE
	OBJ_LIST := $(OBJ2) $(OBJ3) $(OBJ4) $(OBJ5) $(OBJ6)
	OBJ_LIST += $(OBJ7) $(OBJ8) $(OBJ9) $(OBJA)
.END

# MSC has no support for response files, so we do separate compile

.IF $(MICROSOFT_C)
all: $(OBJ_LIST:s/.cpp/.obj/)
.ELSE
all:
	$(CC) $(CFLAGS) @$(mktmp $(OBJ_LIST:/s/.obj/.cpp/))
.END
