Asynchrones Beispiel-Makefile
Im Folgenden wird das Makefile für die asynchrone Beispielanwendung beschrieben.
#----- Include the SDK's WIN32.MAK to pick up defines-------------------
!include <win32.mak>
all: $(OUTDIR) $(OUTDIR)\async.exe
$(OUTDIR)\async.exe: $(OUTDIR)\async.obj
$(link) $(ldebug) /OUT:$(OUTDIR)\async.exe $(conlflags) /PDB:$(OUTDIR)\async.pdb /MACHINE:$(CPU) $(OUTDIR)\async.obj wininet.lib $(baselibs)
$(OUTDIR)\async.obj: async.c
$(cc) $(cflags) $(cdebug) $(cvars) /EHsc /Fo"$(OUTDIR)\\" /Fd"$(OUTDIR)\\" /D"_CONSOLE" /D"UNICODE" /D"_UNICODE" async.c
#----- If OUTDIR does not exist, then create directory
$(OUTDIR) :
if not exist "$(OUTDIR)/$(NULL)" mkdir $(OUTDIR)
clean:
$(CLEANUP)