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 = powershell.exe Get-Clipboard
|
||||
else
|
||||
PASTE = xclip -o
|
||||
endif
|
||||
CAT = bat -pp
|
||||
|
||||
FILE ?= test
|
||||
|
|
|
@ -2,11 +2,12 @@ RM = rm -rf
|
|||
TAR = tar -czf
|
||||
CP = cp -r
|
||||
MKDIR = mkdir -p
|
||||
PASTE = xclip -o
|
||||
|
||||
SRC_DIR = src
|
||||
BIN_DIR = bin
|
||||
|
||||
ENTRY = App
|
||||
ENTRY := App
|
||||
|
||||
ARCHIVE_NAME = nom
|
||||
ARCHIVE_EXT = tar.gz
|
||||
|
@ -18,6 +19,10 @@ run:
|
|||
compilation:
|
||||
find $(SRC_DIR) -name "*.java" -print | xargs javac -d $(BIN_DIR)
|
||||
|
||||
paste:
|
||||
mkdir -p $(SRC_DIR)
|
||||
$(PASTE) > $(SRC_DIR)/Main.java
|
||||
|
||||
all:
|
||||
run
|
||||
|
||||
|
|
Loading…
Reference in a new issue