python/which/Makefile.win
author Nicholas Nethercote <nnethercote@mozilla.com>
Wed, 21 Dec 2016 11:13:08 +1100
changeset 373493 445cae8045dec19f197ea08c80f6e4d17fc336d7
parent 114006 88a1e8e2df95185d41e414ff6b95b61e07105cc0
permissions -rw-r--r--
Bug 1325234 (part 4) - Streamline nsIWidget::{SetFocus,SetNonClientMargins}(). r=mstange. This patch changes them from |NS_IMETHOD| to |virtual nsresult|.

# Copyright (c) 2002-2003 ActiveState Corp.
# Author: Trent Mick (TrentM@ActiveState.com)
#
# A Makefile to do this: launcher.cpp -> foo.exe

APPNAME=which

# for release:
CFLAGS=-D_CONSOLE -D_MBCS -DWIN32 -W3 -Ox -DNDEBUG -D_NDEBUG -MD 
LDFLAGS=/subsystem:console kernel32.lib user32.lib gdi32.lib advapi32.lib shlwapi.lib
# for debug:
#  CFLAGS = -D_CONSOLE -D_MBCS /DWIN32 /Zi /Od /DDEBUG /D_DEBUG /MDd
#  LDFLAGS += /DEBUG

$(APPNAME).exe: launcher.cpp
	cl -nologo $(CFLAGS) -c launcher.cpp
	link -nologo $(LDFLAGS) launcher.obj -out:$(APPNAME).exe

clean:
	if exist launcher.obj; del launcher.obj
    if exist $(APPNAME).exe; del $(APPNAME).exe