-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Julien Delplanque
committed
May 2, 2016
1 parent
0c3888d
commit a5a6728
Showing
3 changed files
with
577 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
################################################################################ | ||
############################ Variables to change ############################### | ||
##### Sources directory | ||
SRC_DIR = src | ||
|
||
##### file to compile, without tex extension; | ||
NAME = gcti | ||
|
||
##### Executable/output to use: PDFLATEX, DVILUATEX | ||
CC = $(PDFLATEX) | ||
################################################################################ | ||
|
||
################################################################################ | ||
############################# Constant variables ############################### | ||
##### Build name file | ||
SRC = $(NAME).tex | ||
|
||
##### Compilers | ||
PDFLATEX = pdflatex | ||
DVILUATEX = dviluatex | ||
################################################################################ | ||
|
||
################################################################################ | ||
############################### Rules ########################################## | ||
$(NAME): | ||
cd $(SRC_DIR) && $(CC) -output-directory ../ $(SRC) | ||
cd $(SRC_DIR) && $(CC) -output-directory ../ $(SRC) | ||
|
||
zip: fclean $(NAME) | ||
$(MAKE) clean | ||
zip -r $(NAME).zip . -x *.git* | ||
|
||
clean: | ||
$(RM) -f $(NAME).out $(NAME).aux $(NAME).toc $(NAME).log $(NAME).tex.backup $(NAME).nav $(NAME).snm | ||
|
||
fclean: clean | ||
$(RM) -f $(NAME).pdf $(NAME).zip $(NAME).dvi | ||
################################################################################ |
Oops, something went wrong.