########################################################################## # # $Id: makefile_pc,v 1.2 2000/07/17 17:52:59 maurie Exp $ # # # Copyright Motorola, Inc. 2000 # ALL RIGHTS RESERVED # # You are hereby granted a copyright license to use, modify, and # distribute the SOFTWARE so long as this entire notice is retained # without alteration in any modified and/or redistributed versions, # and that such modified versions are clearly identified as such. # No licenses are granted by implication, estoppel or otherwise under # any patents or trademarks of Motorola, Inc. # # The SOFTWARE is provided on an "AS IS" basis and without warranty. # To the maximum extent permitted by applicable law, MOTOROLA DISCLAIMS # ALL WARRANTIES WHETHER EXPRESS OR IMPLIED, INCLUDING IMPLIED # WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR # PURPOSE AND ANY WARRANTY AGAINST INFRINGEMENT WITH # REGARD TO THE SOFTWARE (INCLUDING ANY MODIFIED VERSIONS # THEREOF) AND ANY ACCOMPANYING WRITTEN MATERIALS. # # To the maximum extent permitted by applicable law, IN NO EVENT SHALL # MOTOROLA BE LIABLE FOR ANY DAMAGES WHATSOEVER # (INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF # BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS # INFORMATION, OR OTHER PECUNIARY LOSS) ARISING OF THE USE OR # INABILITY TO USE THE SOFTWARE. # # ############################################################################ CC = c:\msvc20\bin\cl -I c:\msvc20\include LIB = c:\msvc20\lib\libc.lib c:\msvc20\lib\oldnames.lib \ c:\msvc20\lib\kernel32.lib LINK = c:\msvc20\bin\link $(LIB) start: @echo "Use target: bat_decoder or l2_decoder" all: bat_decoder l2_decoder bat_decoder: bat_decoder.c $(CC) -c bat_decoder.c -o bat_decoder.obj $(LINK) bat_decoder.obj cleanbat: rm -f bat_decoder.obj bat_decoder.exe l2_decoder: l2_decoder.c $(CC) -c l2_decoder.c -o l2_decoder.obj $(LINK) l2_decoder.obj cleanl2: rm -f l2_decoder.obj l2_decoder.exe clean: cleanbat cleanl2