diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /python/which/Makefile.win | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'python/which/Makefile.win')
-rw-r--r-- | python/which/Makefile.win | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/python/which/Makefile.win b/python/which/Makefile.win new file mode 100644 index 000000000..c400aafd4 --- /dev/null +++ b/python/which/Makefile.win @@ -0,0 +1,21 @@ +# 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 |