paste for lectures

This commit is contained in:
Mylloon 2024-10-24 14:02:25 +02:00
parent c0af4bd52e
commit bca7c6f3fc
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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