48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
|
##############################################################################
|
||
|
#
|
||
|
# Microsoft Research Singularity
|
||
|
#
|
||
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
#
|
||
|
# File: Windows\Benchmarks\gulpserver\Makefile
|
||
|
#
|
||
|
##############################################################################
|
||
|
|
||
|
OBJROOT=..\obj
|
||
|
!INCLUDE "$(SINGULARITY_ROOT)/Makefile.inc"
|
||
|
|
||
|
CFLAGS=$(CFLAGS) /Ox /I..\inc \
|
||
|
/Fd$(OBJDIR)\gulpserver.pdb
|
||
|
|
||
|
HOST_LINKFLAGS=$(HOST_LINKFLAGS) /nod /libpath:..\lib /subsystem:console
|
||
|
|
||
|
LIBS=\
|
||
|
user32.lib \
|
||
|
kernel32.lib \
|
||
|
libcmt.lib \
|
||
|
ws2_32.lib \
|
||
|
##############################################################################
|
||
|
|
||
|
all: $(OBJDIR) $(OBJDIR)\gulpserver.exe
|
||
|
|
||
|
$(OBJDIR):
|
||
|
-mkdir $(OBJDIR)
|
||
|
|
||
|
clean:
|
||
|
@-del /q $(OBJDIR)\gulpserver.* *~ 2>nul
|
||
|
@-rmdir $(OBJDIR) 2>nul
|
||
|
@-rmdir $(OBJROOT) 2>nul
|
||
|
|
||
|
{.}.c{$(OBJDIR)}.obj:
|
||
|
cl /c $(CFLAGS) /Fo$@ $<
|
||
|
|
||
|
$(OBJDIR)\gulpserver.obj: gulpserver.c
|
||
|
|
||
|
OBJS = \
|
||
|
$(OBJDIR)\gulpserver.obj \
|
||
|
|
||
|
$(OBJDIR)\gulpserver.exe: $(OBJS)
|
||
|
link $(HOST_LINKFLAGS) /out:$@ $** $(LIBS)
|
||
|
|
||
|
##############################################################################
|