initial_setup #1
8
.gitignore
vendored
Normal file
8
.gitignore
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
Informe.pdf
|
||||
*.o
|
||||
myshellin
|
||||
*.log
|
||||
*.toc
|
||||
*.gz
|
||||
*.aux
|
||||
*.out
|
28
Makefile
Normal file
28
Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
CC=clang
|
||||
CFLAGS=-Wall -Isrc/include -DDEBUG -g
|
||||
LDFLAGS=-lm
|
||||
SRC=src/myshellin.c
|
||||
OBJ=$(SRC:.c=.o)
|
||||
|
||||
all: myshellin informe
|
||||
|
||||
myshellin: $(OBJ)
|
||||
$(CC) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
informe:
|
||||
# if pdflatex is installed create the informe
|
||||
ifneq (, $(shell which pdflatex))
|
||||
make -C doc
|
||||
mv doc/Informe.pdf Informe.pdf
|
||||
endif
|
||||
|
||||
clean: cleanmyshellin cleaninforme
|
||||
|
||||
cleanmyshellin:
|
||||
rm -f src/*.o myshellin
|
||||
|
||||
cleaninforme:
|
||||
make -C doc clean
|
||||
rm -f Informe.pdf
|
||||
|
||||
.PHONY: all myshellin informe clean cleanmyshellin cleaninforme
|
BIN
doc/Enunciado - ProyectoSemestral.pdf
Normal file
BIN
doc/Enunciado - ProyectoSemestral.pdf
Normal file
Binary file not shown.
72
doc/Informe.tex
Normal file
72
doc/Informe.tex
Normal file
@ -0,0 +1,72 @@
|
||||
\title{Proyecto Semestral}
|
||||
\author{}
|
||||
\date{\today}
|
||||
|
||||
\documentclass[12pt]{article}
|
||||
|
||||
\usepackage[utf8]{inputenc} %\ This allows spanish tildes
|
||||
\usepackage[spanish]{babel}
|
||||
\usepackage{array}
|
||||
\usepackage{adjustbox}
|
||||
\usepackage{titling}
|
||||
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm,a4paper]{geometry}
|
||||
\usepackage{amsmath}
|
||||
|
||||
\usepackage{listings}
|
||||
\lstset{
|
||||
basicstyle=\small\ttfamily,
|
||||
columns=flexible,
|
||||
breaklines=true,
|
||||
inputencoding=utf8,
|
||||
extendedchars=true,
|
||||
literate={á}{{\'a}}1 {é}{{\'e}}1 {í}{{\'i}}1 {ó}{{\'o}}1 {ú}{{\'u}}1 {ñ}{{\~n}}1 {Á}{{\'A}}1 {É}{{\'E}}1 {Í}{{\'I}}1 {Ó}{{\'O}}1 {Ú}{{\'U}}1 {Ñ}{{\~N}}1
|
||||
}
|
||||
|
||||
\usepackage{hyperref}
|
||||
\hypersetup{colorlinks=true,allcolors=black,pdftitle={Proyecto Semestral}}
|
||||
\usepackage{hypcap}
|
||||
|
||||
\pretitle{%
|
||||
\begin{center}
|
||||
\LARGE
|
||||
\includegraphics[width=4cm]{ubblogo.png}\\[\bigskipamount]
|
||||
\Large
|
||||
\textbf{Sistemas Operativos}\\[\smallskipamount]
|
||||
}
|
||||
|
||||
\posttitle{\end{center}}
|
||||
|
||||
\begin{document}
|
||||
\hypersetup{pageanchor=false}
|
||||
\clearpage\maketitle
|
||||
\thispagestyle{empty}
|
||||
|
||||
\begin{flushright}
|
||||
\textbf{Integrantes:}\\
|
||||
Christopher Cromer\\
|
||||
Raúl Hernandez
|
||||
\end{flushright}
|
||||
|
||||
\begin{flushright}
|
||||
\textbf{Profesor:}\\
|
||||
Carlos Faúndez
|
||||
\end{flushright}
|
||||
|
||||
\newpage
|
||||
|
||||
\clearpage
|
||||
\thispagestyle{empty}
|
||||
\tableofcontents
|
||||
|
||||
\newpage
|
||||
\hypersetup{pageanchor=true}
|
||||
\pagenumbering{arabic}
|
||||
|
||||
\newpage
|
||||
\section{Introducción}
|
||||
|
||||
\newpage
|
||||
\section{Conclusiones}
|
||||
|
||||
\end{document}
|
||||
|
9
doc/Makefile
Normal file
9
doc/Makefile
Normal file
@ -0,0 +1,9 @@
|
||||
informe:
|
||||
# we do this twice to make sure the toc is updated
|
||||
pdflatex -synctex=1 -interaction=nonstopmode "Informe.tex"
|
||||
pdflatex -synctex=1 -interaction=nonstopmode "Informe.tex"
|
||||
|
||||
clean:
|
||||
rm -f *.log *.toc *.gz *.aux *.out Informe.pdf
|
||||
|
||||
.PHONY: informe clean
|
BIN
doc/ubblogo.png
Normal file
BIN
doc/ubblogo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 185 KiB |
5
src/myshellin.c
Normal file
5
src/myshellin.c
Normal file
@ -0,0 +1,5 @@
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user