34 lines
1.4 KiB
Makefile
34 lines
1.4 KiB
Makefile
|
# ----------------------------------------------------------------------------
|
||
|
# 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
|
||
|
# ----------------------------------------------------------------------------
|