full thesis template commit and figures
This commit is contained in:
24
thesis/Makefile
Normal file
24
thesis/Makefile
Normal file
@@ -0,0 +1,24 @@
|
||||
# Files
|
||||
MAIN = Main
|
||||
TEX_FILE = $(MAIN).tex
|
||||
PDF_FILE = $(MAIN).pdf
|
||||
BIB_FILE = bib/bibliography.bib
|
||||
FIGURES = $(wildcard figures/*)
|
||||
|
||||
# Build script
|
||||
BUILD_SCRIPT = build.sh
|
||||
|
||||
# Default target
|
||||
all: $(PDF_FILE)
|
||||
|
||||
# Rule to build the PDF
|
||||
$(PDF_FILE): $(TEX_FILE) $(BIB_FILE) $(FIGURES)
|
||||
bash $(BUILD_SCRIPT)
|
||||
|
||||
# Clean target to remove generated files
|
||||
clean:
|
||||
rm -f $(PDF_FILE)
|
||||
|
||||
# Phony targets
|
||||
.PHONY: all clean
|
||||
|
||||
Reference in New Issue
Block a user