paste for lectures
This commit is contained in:
parent
c0af4bd52e
commit
bca7c6f3fc
1 changed files with 6 additions and 1 deletions
|
@ -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