Hi,
I have a smaller Makefile and one of the files there
is named "Pref3$1.class". I have troubles deleting it
with "gmake clean", probably because the shell tries
to expand the "$1" in its name.
I couldn't find a solution in the manual sofar, could
someone please give me a hint? Here's the Makefile:
SOURCES = Board.java Card.java Pref3.java
INNER = Pref3$$1.class
CLASSES = $(SOURCES:%.java=%.class) $(INNER)
MEDIA = cards2.gif
all: Pref3.jar Pref3.cab Pref3.zip
Pref3.jar: $(CLASSES) $(MEDIA)
jar cf $@ $^
Pref3.cab: $(CLASSES) $(MEDIA)
-wine cabarc.exe n $@ $^
Pref3.class $(INNER):
javac -deprecation -J-Dfile.encoding=KOI8_R $^
%.class: %.java
javac -deprecation -J-Dfile.encoding=KOI8_R $<
clean:
rm -f $(CLASSES) tags log \
Pref3.cab Pref3.zip Pref3.jar
Pref3.zip: $(CLASSES) $(MEDIA)
zip -0 $@ $^
tags:
ctags $(SOURCES)
.PHONY: all clean tags
Thank you
Alex
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make