🔧 Correction du makefile

This commit is contained in:
Loris BALOCCHI 2024-06-07 17:44:24 +02:00
parent acb3ef08fd
commit dadfb51af0

View File

@ -2,6 +2,7 @@
SRC_DIR = src
BIN_DIR = bin
RES_DIR = $(SRC_DIR)/com/charpentierbalocchi/dorfjavatik/resources
RES_BIN_DIR = $(BIN_DIR)/com/charpentierbalocchi/dorfjavatik/resources
JAVAC = javac
JAVA = java
JAVADOC = javadoc
@ -25,7 +26,7 @@ compile:
# Rule to copy resources
copy-resources:
@echo "Copying resources..."
@cp -r $(RES_DIR) $(BIN_DIR)
@cp -r $(RES_DIR) $(RES_BIN_DIR)
# Rule to run the application
run: compile copy-resources