|
|
1.1 root 1: #===================================================================
2: #
3: # Sample Make file
4: # Created by Microsoft, IBM Corporation, 1990
5: #
6: #===================================================================
7:
8: .SUFFIXES: .res .rc
9:
10: ASM = masm
11: AFLAGS =
12: AXFLAGS =
13: CC = cl386
14: CFLAGS16 = -u -c -Gs -Od -W3 -Zpei -AL
15: CFLAGS32 = -c -Gs -Od -W3 -Zi -B1 c1l_386
16: CINC32 =
17: CINC16 = -X -I\sdk12\inc -I\sdk12\inc\sys -I..\..\inc
18: DFLAGS =
19: LINK16 = link
20: LIBS16 = os2 llibcep printdlg
21: LINK32 = link386
22: LIBS32 = os2386 libc
23: LFLAGS = /MAP/CO/NOD
24: RC = ..\..\..\os2bin\rc
25: HEADERS = cheap.h globals.h jigsaw.h opendlg.h statwnd.h
26:
27: LINK = $(LINK32)
28: CFLAGS = $(CFLAGS32)
29: LIBS = $(LIBS32)
30: CINC = $(CINC32)
31: #===================================================================
32: #
33: # Default inference rules
34: #
35: #===================================================================
36: .c.obj:
37: $(CC) $(CFLAGS) $(CINC) $*.c
38:
39: .asm.obj:
40: $(ASM) $(AFLAGS) $(AXFLAGS) $*.asm;
41:
42: .rc.res:
43: $(RC) -r $*.rc
44:
45: #===================================================================
46: #
47: # A list of all of the object files
48: #
49: #===================================================================
50: OBJECTS=jigsaw.obj procs.obj misc.obj globals.obj
51:
52: #===================================================================
53: #
54: # A list of all of the Help files
55: #
56: #===================================================================
57: ALL_IPF =
58:
59: #===================================================================
60: #
61: # Dependencies
62: #
63: #===================================================================
64:
65: all: jigsaw.exe
66:
67: jigsaw.lnk: jigsaw.mak
68: echo $(OBJECTS) > jigsaw.lnk
69: echo jigsaw.exe >> jigsaw.lnk
70: echo jigsaw.map $(LFLAGS) >> jigsaw.lnk
71: echo $(LIBS) >> jigsaw.lnk
72: echo jigsaw.def >> jigsaw.lnk
73:
74: jigsaw.res: jigsaw.rc jigsaw.h statwnd.dlg cheap.dlg jigsaw.ico
75:
76: jigsaw.obj: jigsaw.c $(HEADERS)
77:
78: procs.obj: procs.c $(HEADERS)
79:
80: misc.obj: misc.c $(HEADERS)
81:
82: globals.obj: globals.c $(HEADERS)
83:
84:
85: #=============== help file generation ====================#
86: #jigsaw.hlp: $(ALL_IPF)
87: # ipfc jigsaw.ipf /W3
88:
89: jigsaw.exe: $(OBJECTS) jigsaw.def jigsaw.lnk jigsaw.res
90: $(LINK) @jigsaw.lnk
91: $(RC) jigsaw.res jigsaw.exe
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.