mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.4 KiB
33 lines
1.4 KiB
# ----------------------------------------------------------------------------
|
|
# Standard Microsoft SDK for Java MAKEFILE for Samples
|
|
# ----------------------------------------------------------------------------
|
|
|
|
# ----------------------------------------------------------------------------
|
|
# Platform SDK root
|
|
# ----------------------------------------------------------------------------
|
|
ROOT = ..\..\..\..
|
|
|
|
# ----------------------------------------------------------------------------
|
|
# Tools
|
|
# ----------------------------------------------------------------------------
|
|
|
|
JVCATTR = jvc.exe /nologo /nowarn /x- /nomessage
|
|
|
|
# ----------------------------------------------------------------------------
|
|
# Set destination directory.
|
|
# ----------------------------------------------------------------------------
|
|
|
|
DEST_DIR= .
|
|
|
|
# ----------------------------------------------------------------------------
|
|
# generate com wrapper to mqoa.tlb and build the sample.
|
|
# ----------------------------------------------------------------------------
|
|
|
|
all:
|
|
if NOT exist %windir%\Java\Classes\Classes.zip clspack -auto
|
|
JActiveX /w /d $(DEST_DIR) $(ROOT)\lib\mqoa.tlb
|
|
$(JVCATTR) /d $(DEST_DIR) *.java
|
|
jexegen /main:DistDraw /out:$(DEST_DIR)\DistDraw.exe /w *.class
|
|
# ----------------------------------------------------------------------------
|
|
# Dependencies
|
|
# ----------------------------------------------------------------------------
|