home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-05-23 | 1.3 KB | 50 lines |
- # THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
- # ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
- # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
- # PARTICULAR PURPOSE.
- #
- # Copyright (C) 1993 - 1995 Microsoft Corporation. All Rights Reserved.
- #
- #
- # Processor independent makefile
-
- # Nmake macros for building Windows 32-Bit apps
- !include <win32.mak>
-
- PROJ = GENERIC
-
- all: $(PROJ).exe $(PROJ).hlp
-
- # Define project specific macros
- PROJ_OBJS = generic.obj
- BASE_OBJS =
- EXTRA_LIBS = version.lib
- GLOBAL_DEP = generic.h resource.h
- RC_DEP = resource.h
-
-
-
- # Inference rule for updating the object files
- .c.obj:
- $(cc) $(cdebug) $(cflags) $(cvars) $*.c
-
- # Build rule for resource file
- $(PROJ).res: $(PROJ).rc $(RC_DEP)
- $(rc) $(rcflags) $(rcvars) /fo $(PROJ).res $(PROJ).rc
-
- # Build rule for EXE
- $(PROJ).EXE: $(BASE_OBJS) $(PROJ_OBJS) $(PROJ).res
- $(link) $(linkdebug) $(guilflags) \
- $(BASE_OBJS) $(PROJ_OBJS) $(PROJ).res $(guilibs) $(EXTRA_LIBS) \
- -out:$(PROJ).exe $(MAPFILE)
-
- # Build rule for help file
- $(PROJ).hlp: $(PROJ).rtf $(PROJ).hpj
- $(hc) generic.hpj
-
-
-
- # Rules for cleaning out those old files
- clean:
- del *.bak *.pdb *.obj *.res *.exp *.map *.sbr *.bsc
-