A
A. Farber
Hello,
is there please a way to set a variable (like for example a
boolean NDEBUG) during the compilation of the classes?
I'd like to be able to compile a debug and a production version
of my applet by using the same GNU Makefile (gmake DEBUG=1)
Currently I have to edit the source code every time and change
the NDEBUG variable there. Here is the top of my Makefile,
I wish I could add smth. like "-D-JNDEBUG=false" there:
JAVAC = /usr/local/jdk1.3.1-linux/bin/javac
JFLAGS = -target 1.1 -encoding KOI8_R -J-Dfile.encoding=KOI8_R
ifeq ($(DEBUG),1)
JFLAGS += -g
endif
.......etc...........
Regards
Alex
is there please a way to set a variable (like for example a
boolean NDEBUG) during the compilation of the classes?
I'd like to be able to compile a debug and a production version
of my applet by using the same GNU Makefile (gmake DEBUG=1)
Currently I have to edit the source code every time and change
the NDEBUG variable there. Here is the top of my Makefile,
I wish I could add smth. like "-D-JNDEBUG=false" there:
JAVAC = /usr/local/jdk1.3.1-linux/bin/javac
JFLAGS = -target 1.1 -encoding KOI8_R -J-Dfile.encoding=KOI8_R
ifeq ($(DEBUG),1)
JFLAGS += -g
endif
.......etc...........
Regards
Alex