Compare commits
No commits in common. "f97289f9c7841a8c00169931fb570c1388d92d92" and "4a0a12aeea3515861769dbc86fed99315333c840" have entirely different histories.
f97289f9c7
...
4a0a12aeea
1 changed files with 0 additions and 30 deletions
30
java_zip.mk
30
java_zip.mk
|
@ -1,30 +0,0 @@
|
|||
RM = rm -rf
|
||||
TAR = tar -cf
|
||||
CP = cp -r
|
||||
MKDIR = mkdir -p
|
||||
|
||||
SRC_DIR = src
|
||||
BIN_DIR = bin
|
||||
|
||||
ENTRY = App
|
||||
|
||||
ARCHIVE_NAME = nom
|
||||
|
||||
run: compilation
|
||||
run:
|
||||
java --enable-preview -cp $(BIN_DIR) $(ENTRY)
|
||||
|
||||
compilation:
|
||||
find $(SRC) -name "*.java" -print | xargs javac -d $(BIN_DIR)
|
||||
|
||||
all:
|
||||
run
|
||||
|
||||
clean:
|
||||
$(RM) $(BIN_DIR) "$(ARCHIVE_NAME).tar"
|
||||
|
||||
archive:
|
||||
$(MKDIR) "$(ARCHIVE_NAME)"
|
||||
$(CP) "$(SRC_DIR)" README.txt "$(ARCHIVE_NAME)"
|
||||
$(TAR) "$(ARCHIVE_NAME).tar" "$(ARCHIVE_NAME)"
|
||||
$(RM) "$(ARCHIVE_NAME)"
|
Loading…
Reference in a new issue