source: gsdl/trunk/build-src/packages/isis-gdl/win32.mak@ 19520

Last change on this file since 19520 was 19520, checked in by ak19, 15 years ago

Dr Bainbridge updated the Windows makefiles to 1. Take the DEBUG flag so that we can recompile all of GS2 in the Vis C++ 2005 Express Edition command prompt and then use its Debugger on the C code. 2. Now GS2 make clean command cleans

  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
RevLine 
[12754]1# ISIS-GDL
2
[16574]3GSDLHOME = ..\..\..
[12754]4
5CC = cl
6AR = lib
7
[19520]8DEBUG = 0
[12754]9DLL = 0
10DLLDEBUG = 0
11
[19520]12!IF $(DEBUG)
13CXXFLAGS = -DEBUG -Z7 /errorReport:prompt
14!ELSE
15CXXFLAGS =
16!ENDIF
17
[12754]18!IF $(GSDL_VC4)
[19520]19CXXFLAGS = $(CXXFLAGS) -GX
[12754]20!ELSE
[19520]21CXXFLAGS = $(CXXFLAGS) -EHsc
[12754]22!ENDIF
23
24!IF $(DLL)
[19520]25CXXFLAGS = $(CXXFLAGS) -MD
[12754]26!ELSE
27!IF ($(DLLDEBUG))
[19520]28CXXFLAGS = $(CXXFLAGS) -MDd
[12754]29!ENDIF
30!ENDIF
31
[19520]32COMPILE = $(CC) -nologo -c $(CXXFLAGS) $(DEFS) $(INCLUDES)
[12754]33LINK = $(CC) -nologo $(LDFLAGS)
34
35.SUFFIXES:
36.SUFFIXES: .cpp .obj
37.cpp.obj:
38 $(COMPILE) $<
39
40ANSI2KNR =
41o = .obj
42e = .exe
43
44HEADERS = AbstractIsisDb.h CacheMan.h Debug.h IErrors.h IsisUtil.h \
45 XRFFile.h BlkFile.h Checking.h Fdt.h IsisDb.h MFFile.h mytchar.h \
46 CRC32.h Compat.h File.h IsisDef.h Master.h stdafx.h \
47 CRCTab.h DLLCode.h FileSystem.h IsisTypes.h Unimarc.h tchar.h
48
49
50SOURCES = CRC32.cpp Debug.cpp FileSystem.cpp IsisGdl.cpp Master.cpp \
51 stdafx.cpp CacheMan.cpp Fdt.cpp IErrors.cpp IsisUtil.cpp \
52 Unimarc.cpp Checking.cpp File.cpp IsisDb.cpp MFFile.cpp XRFFile.cpp
53
54OBJECTS = IsisGdl$o CacheMan$o Checking$o CRC32$o Fdt$o File$o Debug$o \
55 FileSystem$o IErrors$o IsisDb$o IsisUtil$o Master$o MFFile$o \
56 stdafx$o Unimarc$o XRFFile$o
57
58EXEC = IsisGdl$e
59
60DEFS =
61
62all: $(EXEC)
63
64install: $(EXEC)
65 if NOT EXIST "$(GSDLHOME)\bin\windows" mkdir "$(GSDLHOME)\bin\windows"
66 copy $(EXEC) "$(GSDLHOME)\bin\windows"
67
68clean:
69 del *.obj
70 del $(EXEC)
71
72IsisGdl$e: $(OBJECTS) $(LIBS)
73 $(LINK) $(OBJECTS) $(LIBS)
74
Note: See TracBrowser for help on using the repository browser.