Annotation of mstools/samples/sdktools/mc/makefile, revision 1.1.1.1

1.1       root        1: # ============================================================================
                      2: # File: M A K E F I L E
                      3: # 
                      4: # NMAKE description file for the DFVIEW Docfile viewer sample
                      5: #
                      6: # Copyright (C) Microsoft Corporation, 1992-1993.  All Rights Reserved.
                      7: # ============================================================================
                      8: #
                      9: # Usage:    NMAKE DEBUG = 1 (build DEBUG exe)
                     10: #           NMAKE           (build RELEASE exe)
                     11: #
                     12: # ============================================================================
                     13: 
                     14: 
                     15: !include <ntwin32.mak>
                     16: 
                     17: APP       = MC
                     18: 
                     19: CPP          = $(cc)
                     20: CPPFLAGS     = $(cflags) $(cvars) $(cdebug)
                     21: LINKFLAGS    = $(linkdebug) $(conflags)
                     22: APP_OBJS     = mc.obj mcparse.obj mclex.obj mcutil.obj mcout.obj
                     23: 
                     24: # ----------------------------------------------------------------------------
                     25: #                          O V E R A L L    G O A L
                     26: # ----------------------------------------------------------------------------
                     27:             
                     28: goal: $(APP).exe
                     29: 
                     30: 
                     31:                      
                     32: # ----------------------------------------------------------------------------
                     33: #                      L I N K / R E S   C O M M A N D S
                     34: # ----------------------------------------------------------------------------
                     35: 
                     36: $(APP).exe: $(APP_OBJS)
                     37:     @echo Linking ...
                     38:      $(link) $(LINKFLAGS) $(APP_OBJS) $(conlibs) user32.lib -out:$@
                     39: 
                     40: # ----------------------------------------------------------------------------
                     41: #                           B U I L D   R U L E S
                     42: # ----------------------------------------------------------------------------
                     43: 
                     44: {$(SRC_DIR)}.c{}.obj:
                     45:     @echo Compiling $<...
                     46:     $(CPP) $(CPPFLAGS) /c $<
                     47: 
                     48: 
                     49: # ----------------------------------------------------------------------------
                     50: #                       D E P E N D E N C Y   R U L E S
                     51: # ----------------------------------------------------------------------------
                     52: 
                     53: mc.obj: mc.c mc.h
                     54: 
                     55: mcparse.obj: mcparse.c mc.h
                     56: 
                     57: mcout.obj: mcout.c mc.h
                     58: 
                     59: mclex.obj: mclex.c mc.h
                     60: 
                     61: mcutil.obj: mcutil.c

unix.superglobalmegacorp.com

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