Annotation of os232sdk/toolkt20/c/samples/style/style.mak, revision 1.1.1.1

1.1       root        1: #===================================================================
                      2: #
                      3: #   Sample Make file
                      4: #   Created 1990 Microsoft, IBM Corporation
                      5: #
                      6: #===================================================================
                      7: 
                      8: .SUFFIXES: .res .rc .ipf .hlp
                      9: 
                     10: ASM = masm
                     11: AFLAGS =
                     12: AXFLAGS =
                     13: CC = cl386
                     14: CFLAGS16 = -u -c -Gs -Od -W3 -Zpei -AL -DLINT_ARGS
                     15: CFLAGS32 = -c -Gs -Od -W3 -Zi -B1 c1l_386 -DLINT_ARGS
                     16: CINC32 = 
                     17: CINC16 = -X -I\sdk12\inc -I\sdk12\inc\sys -I..\..\inc
                     18: DFLAGS =
                     19: LINK16 = link
                     20: LIBS16 = os2 llibcep
                     21: LINK32 = link386
                     22: LIBS32 = os2386 libc
                     23: LFLAGS = /MAP/CO/NOD
                     24: RC = ..\..\..\os2bin\rc
                     25: HEADERS = sty_main.h sty_xtrn.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: ALL_OBJ1 = sty_main.obj sty_user.obj sty_init.obj sty_pnt.obj sty_dlg.obj
                     51: ALL_OBJ2 = sty_file.obj sty_edit.obj sty_help.obj sty_prnt.obj
                     52: 
                     53: #===================================================================
                     54: #
                     55: #   A list of all of the Help files
                     56: #
                     57: #===================================================================
                     58: ALL_IPF = sty_main.ipf sty_file.ipf sty_edit.ipf sty_help.ipf sty_menu.ipf \
                     59:           sty_dlg.ipf
                     60: 
                     61: #===================================================================
                     62: #
                     63: #   Dependencies
                     64: #
                     65: #===================================================================
                     66: 
                     67: all: style.exe style.hlp
                     68: 
                     69: style.lnk: style.mak
                     70:     echo $(ALL_OBJ1) +         > style.lnk
                     71:     echo $(ALL_OBJ2)          >> style.lnk
                     72:     echo style.exe            >> style.lnk
                     73:     echo style.map $(LFLAGS)  >> style.lnk
                     74:     echo $(LIBS)              >> style.lnk
                     75:     echo style.def            >> style.lnk
                     76: 
                     77: sty_main.res: sty_main.rc sty_main.h sty_dlg.h style.dlg # sty_help.rc sty_help.h
                     78: 
                     79: sty_main.obj: sty_main.c $(HEADERS)
                     80: 
                     81: sty_file.obj: sty_file.c $(HEADERS)
                     82: 
                     83: sty_edit.obj: sty_edit.c $(HEADERS)
                     84: 
                     85: sty_user.obj: sty_user.c $(HEADERS)
                     86: 
                     87: sty_init.obj: sty_init.c $(HEADERS)
                     88: 
                     89: sty_pnt.obj: sty_pnt.c $(HEADERS)
                     90: 
                     91: sty_dlg.obj: sty_dlg.c $(HEADERS)
                     92: 
                     93: sty_help.obj: sty_help.c $(HEADERS) sty_help.h
                     94: 
                     95: sty_prnt.obj: sty_prnt.c $(HEADERS)
                     96: 
                     97: 
                     98: #=============== help file generation ====================#
                     99: style.hlp: $(ALL_IPF)
                    100:     ipfc sty_main.ipf /W3
                    101:     if exist style.hlp del style.hlp
                    102:     rename sty_main.hlp style.hlp
                    103: 
                    104: style.exe: $(ALL_OBJ1) $(ALL_OBJ2) style.def style.lnk sty_main.res
                    105:     $(LINK) @style.lnk
                    106:     $(RC) sty_main.res style.exe

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.