You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
2.1 KiB
72 lines
2.1 KiB
#********************************************************************
|
|
#** Microsoft Windows **
|
|
#** Copyright(c) Microsoft Corp., 1992 - 1996 **
|
|
#********************************************************************
|
|
!INCLUDE ..\..\commk.msc
|
|
|
|
# Put compiler specific flags on the first line
|
|
CFLAGS = -c -nologo -Zle -W3 $(DBG_FLAGS) \
|
|
-D_X86_ $(U_OPTS) $(BYTE_ORDER)
|
|
|
|
# Put linker specific flags here.
|
|
LFLAGS = /nologo $(LDBG_FLAGS)
|
|
|
|
# CRTINC is the location of the C runtime header files
|
|
CRTINC = -I$(CRTDIR)
|
|
|
|
# The reference implementation needs a C runtime library
|
|
EXELIBS =\
|
|
$(LIBC)\
|
|
..\..\obj\refstg.lib
|
|
|
|
OBJDIR = obj
|
|
|
|
CXXFILES = \
|
|
.\cpropvar.cxx\
|
|
.\proptest.cxx\
|
|
.\testdoc.cxx\
|
|
|
|
HEADERS = \
|
|
.\CHResult.hxx\
|
|
.\cpropvar.hxx\
|
|
|
|
SOURCES=$(CXXFILES) $(HEADERS)
|
|
CXX_OBJS=$(CXXFILES:.cxx=.obj)
|
|
CXX_OBJS=$(CXX_OBJS:.c=.obj)
|
|
|
|
# The obj\ in the following line should be replaced with $(OBJDIR) for
|
|
# versions of make that can handle it.
|
|
CXX_OBJS=$(CXX_OBJS:.\=obj\)
|
|
|
|
default: "$(OBJDIR)" $(OBJDIR)\proptest.exe
|
|
|
|
#clear all the files then build
|
|
clean: clobber default
|
|
|
|
# clear all the files
|
|
clobber:
|
|
@if exist "$(OBJDIR)\*.obj" erase "$(OBJDIR)\*.obj"
|
|
@if exist "$(OBJDIR)\*.exe" erase "$(OBJDIR)\*.exe"
|
|
@if exist "$(OBJDIR)\*.dll" erase "$(OBJDIR)\*.dll"
|
|
@if exist "$(OBJDIR)\*.lib" erase "$(OBJDIR)\*.lib"
|
|
@if exist "$(OBJDIR)\*.map" erase "$(OBJDIR)\*.map"
|
|
@if exist "$(OBJDIR)\*.exp" erase "$(OBJDIR)\*.exp"
|
|
@if exist "$(OBJDIR)\*.lnk" erase "$(OBJDIR)\*.lnk"
|
|
|
|
# make the directory if it does not exist
|
|
$(OBJDIR):
|
|
@if not exist $(OBJDIR) mkdir $(OBJDIR)
|
|
|
|
$(OBJDIR)\proptest.exe: $(CXX_OBJS)
|
|
$(LINKER) $(LFLAGS) $(CXX_OBJS) $(EXELIBS) /OUT:$*.exe
|
|
|
|
tags: $(SOURCES)
|
|
dir /s /b *.hxx *.h *.cxx *.c | grep -v ~ | etags -
|
|
|
|
.c{$(OBJDIR)}.obj:
|
|
$(CC) $(CFLAGS) $(CINC) /Fo$(OBJDIR)\ $<
|
|
|
|
.cxx{$(OBJDIR)}.obj:
|
|
$(CC) $(CFLAGS) $(CINC) /Fo$(OBJDIR)\ $<
|
|
|
|
!include depend.msc
|