# # Clearcase: @@/main/5 # VersionId: Tau 4.2.0 # ######################################################################## # # # makefile to build makegen.exe with the Microsoft C++ compiler # # # ######################################################################## ######################################################################## # # # Section 1: Tool dependent stuff # # # ######################################################################## TOOL=makegen.exe CC=cl.exe CC_FLAGS=/nologo /ML /W3 /GX /O2 /D "NDEBUG" /D "_WINDOWS" /D "WIN32" \ /D "_CONSOLE" /D "_MBCS" /D "MAKEGEN" /FD /c LD=link.exe LD_FLAGS=/nologo /subsystem:console /machine:I386 /NODEFAULTLIB:libcd.lib ######################################################################## # # # Section 2: targets # # # ######################################################################## default: $(TOOL) $(TOOL): makegen.o $(LD) @<< makegen.obj makegencl.lib kernel32.lib user32.lib $(LD_FLAGS) /OUT:makegen.exe << ######################################################################## # # # Section 3: Dependencies # # # ######################################################################## makegen.o: makegen.c makegen.h $(CC) @<< $(CC_FLAGS) makegen.c /Fomakegen.obj <<