Skip to content

Commit 5a88cb2

Browse files
committed
Build updates
1 parent 86e6fef commit 5a88cb2

File tree

4 files changed

+18
-13
lines changed

4 files changed

+18
-13
lines changed

Makefile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,13 @@
1414

1515
VER?=$(shell perl -n -e '/define\s+VER_STRING2\s+"(.*)"/ && print $$1' version.h)
1616
APP?=$(shell perl -n -e '/define\s+VER_INTERNAL_NAME\s+"(.*)"/ && print $$1' version.h)
17-
VC98?=$(PROGRAMFILES)\\Microsoft Visual Studio 10.0\\VC
18-
MSVC_DIR?=$(shell cygpath -u `cygpath -ds "$(VC98)"`)
19-
CYGENV=MAKEFLAGS="" PATH=$(MSVC_DIR)/bin:$$PATH
17+
APP_FILES=Release/$(APP).exe changelog.txt COPYING readme.txt
18+
SRC_FILES=$(APP_FILES) $(shell ls Makefile *.cpp *.dep *.dsp *.dsw *.h *.ico *.mak *.rc 2>/dev/null)
19+
2020
APP_ZIP?=$(APP)-$(VER)-win32.zip
2121
SRC_ZIP?=$(APP)-$(VER)-win32-src.zip
2222
ZIP?=zip
2323
ZIP_OPTS?=-9jquX
24-
CWD=$(shell pwd)
25-
APP_FILES=Release/$(APP).exe changelog.txt COPYING readme.txt
26-
SRC_FILES=$(APP_FILES) $(shell ls *.cpp *.c *.h *.hpp *.inl *.dsp *.dsw *.mak *.dep Makefile 2>/dev/null)
2724

2825
.PHONY: dist
2926
dist: all $(APP_ZIP) $(SRC_ZIP)

dskwipe.dep

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
# Microsoft Developer Studio Generated Dependency File, included by dskwipe.mak
22

33
.\dskwipe.cpp : \
4-
"..\shared\getopt.h"\
5-
"..\shared\ver_defaults.h"\
4+
{$(INCLUDE)}"basetsd.h"\
5+
{$(INCLUDE)}"guiddef.h"\
6+
{$(INCLUDE)}"propidl.h"\
7+
{$(INCLUDE)}"reason.h"\
8+
{$(INCLUDE)}"specstrings.h"\
9+
{$(INCLUDE)}"stralign.h"\
10+
{$(INCLUDE)}"tvout.h"\
11+
{$(INCLUDE)}"winefs.h"\
12+
{$(INCLUDE)}"getopt.h"\
13+
{$(INCLUDE)}"ver_defaults.h"\
614
".\version.h"\
715

dskwipe.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//
1010
// Generated from the TEXTINCLUDE 2 resource.
1111
//
12-
#include "afxres.h"
12+
#include "windows.h"
1313

1414
/////////////////////////////////////////////////////////////////////////////
1515
#undef APSTUDIO_READONLY_SYMBOLS

nmake.mak

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
all:
2-
$(CYGENV) nmake /f dskwipe.mak CFG="dskwipe - Win32 Release" all
3-
$(CYGENV) nmake /f dskwipe.mak CFG="dskwipe - Win32 Debug" all
2+
$(MAKE) /f dskwipe.mak CFG="dskwipe - Win32 Release" all
3+
$(MAKE) /f dskwipe.mak CFG="dskwipe - Win32 Debug" all
44

55
clean:
6-
$(CYGENV) nmake /f dskwipe.mak CFG="dskwipe - Win32 Release" clean
7-
$(CYGENV) nmake /f dskwipe.mak CFG="dskwipe - Win32 Debug" clean
6+
$(MAKE) /f dskwipe.mak CFG="dskwipe - Win32 Release" clean
7+
$(MAKE) /f dskwipe.mak CFG="dskwipe - Win32 Debug" clean
88

99
realclean: clean
1010
-cmd /c del /s *.bak

0 commit comments

Comments
 (0)