Compare commits
2 commits
aca1c11106
...
bca7c6f3fc
Author | SHA1 | Date | |
---|---|---|---|
bca7c6f3fc | |||
c0af4bd52e |
2 changed files with 7 additions and 6 deletions
|
@ -1,8 +1,4 @@
|
||||||
ifeq (, $(shell which xclip 2>/dev/null))
|
PASTE = xclip -o
|
||||||
PASTE = powershell.exe Get-Clipboard
|
|
||||||
else
|
|
||||||
PASTE = xclip -o
|
|
||||||
endif
|
|
||||||
CAT = bat -pp
|
CAT = bat -pp
|
||||||
|
|
||||||
FILE ?= test
|
FILE ?= test
|
||||||
|
|
|
@ -2,11 +2,12 @@ RM = rm -rf
|
||||||
TAR = tar -czf
|
TAR = tar -czf
|
||||||
CP = cp -r
|
CP = cp -r
|
||||||
MKDIR = mkdir -p
|
MKDIR = mkdir -p
|
||||||
|
PASTE = xclip -o
|
||||||
|
|
||||||
SRC_DIR = src
|
SRC_DIR = src
|
||||||
BIN_DIR = bin
|
BIN_DIR = bin
|
||||||
|
|
||||||
ENTRY = App
|
ENTRY := App
|
||||||
|
|
||||||
ARCHIVE_NAME = nom
|
ARCHIVE_NAME = nom
|
||||||
ARCHIVE_EXT = tar.gz
|
ARCHIVE_EXT = tar.gz
|
||||||
|
@ -18,6 +19,10 @@ run:
|
||||||
compilation:
|
compilation:
|
||||||
find $(SRC_DIR) -name "*.java" -print | xargs javac -d $(BIN_DIR)
|
find $(SRC_DIR) -name "*.java" -print | xargs javac -d $(BIN_DIR)
|
||||||
|
|
||||||
|
paste:
|
||||||
|
mkdir -p $(SRC_DIR)
|
||||||
|
$(PASTE) > $(SRC_DIR)/Main.java
|
||||||
|
|
||||||
all:
|
all:
|
||||||
run
|
run
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue