Original skeleton
This commit is contained in:
commit
097516a3e3
35
.gitignore
vendored
Executable file
35
.gitignore
vendored
Executable file
@ -0,0 +1,35 @@
|
||||
#This the the canonical lab .gitignore file
|
||||
|
||||
#ignore temp files
|
||||
*~
|
||||
|
||||
#ignore pdf files (just keep source files)
|
||||
*.pdf
|
||||
|
||||
#ignore junk files from latex output
|
||||
*.out
|
||||
*.log
|
||||
*.aux
|
||||
*.dvi
|
||||
*.ps
|
||||
|
||||
#ignore junk files from compiling C code
|
||||
*.o
|
||||
emulate
|
||||
assemble
|
||||
|
||||
#ignore junk files from compiling Haskell code
|
||||
*.hi
|
||||
|
||||
#ignore junk files from compiling Java code
|
||||
*.class
|
||||
|
||||
#ignore other junk files
|
||||
*.backup
|
||||
*.kate-swp
|
||||
*.swp
|
||||
*.snm
|
||||
*.vrb
|
||||
*.nav
|
||||
*.toc
|
||||
|
||||
30
doc/Checkpoint.tex
Executable file
30
doc/Checkpoint.tex
Executable file
@ -0,0 +1,30 @@
|
||||
\documentclass[11pt]{article}
|
||||
|
||||
\usepackage{fullpage}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\title{ARM Checkpoint... }
|
||||
\author{TODO}
|
||||
|
||||
\maketitle
|
||||
|
||||
\section{Group Organisation}
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
|
||||
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
|
||||
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
||||
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
|
||||
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
|
||||
culpa qui officia deserunt mollit anim id est laborum.
|
||||
|
||||
\section{Implementation Strategies}
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
|
||||
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
|
||||
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
||||
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
|
||||
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
|
||||
culpa qui officia deserunt mollit anim id est laborum.
|
||||
|
||||
\end{document}
|
||||
48
doc/Makefile
Executable file
48
doc/Makefile
Executable file
@ -0,0 +1,48 @@
|
||||
########################################
|
||||
|
||||
CHECKPONT=Checkpoint
|
||||
REPORT=Report
|
||||
LATEXMK=latexmk
|
||||
OUTDIR=out
|
||||
|
||||
LATEXMKRC=.latexmkrc
|
||||
|
||||
LATEXMKFLAGS=\
|
||||
--pdf\
|
||||
--shell-escape\
|
||||
-synctex=1\
|
||||
-interaction=nonstopmode\
|
||||
-file-line-error\
|
||||
-outdir=$(OUTDIR)
|
||||
|
||||
LATEXMKCLEANFLAGS=\
|
||||
-outdir=$(OUTDIR)\
|
||||
-c
|
||||
|
||||
.PHONY: all clean pvc cleanall report checkpoint cleanpdf
|
||||
|
||||
all: report checkpoint
|
||||
|
||||
report: $(REPORT).pdf
|
||||
checkpoint: $(CHECKPONT).pdf
|
||||
|
||||
# Starts a server that watches for changes in the tex files and recompiles
|
||||
pvc:
|
||||
$(LATEXMK) $(LATEXMKFLAGS) -pvc $(ROOT_FILE).tex
|
||||
|
||||
%.pdf: %.tex
|
||||
$(LATEXMK) $(LATEXMKFLAGS) $<
|
||||
mv $(OUTDIR)/$@ .
|
||||
|
||||
# filters out pdf from the clean (in case you want them there ☺ )
|
||||
TO_CLEAN = $(filter-out %.pdf, $(wildcard $(OUTDIR)/*))
|
||||
clean:
|
||||
$(RM) -rf $(TO_CLEAN)
|
||||
|
||||
cleanpdf:
|
||||
$(RM) *.pdf
|
||||
|
||||
cleanall: cleanpdf
|
||||
$(RM) -rf $(OUTDIR)
|
||||
|
||||
|
||||
21
doc/Report.tex
Executable file
21
doc/Report.tex
Executable file
@ -0,0 +1,21 @@
|
||||
\documentclass[11pt]{article}
|
||||
|
||||
\usepackage{fullpage}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\title{Our Extension...}
|
||||
\author{TODO}
|
||||
|
||||
\maketitle
|
||||
|
||||
\section{Introduction}
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
|
||||
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
|
||||
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
||||
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
|
||||
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
|
||||
culpa qui officia deserunt mollit anim id est laborum.
|
||||
|
||||
\end{document}
|
||||
17
src/Makefile
Executable file
17
src/Makefile
Executable file
@ -0,0 +1,17 @@
|
||||
CC ?= gcc
|
||||
CFLAGS ?= -std=c17 -g\
|
||||
-D_POSIX_SOURCE -D_DEFAULT_SOURCE\
|
||||
-Wall -Werror -pedantic
|
||||
|
||||
.SUFFIXES: .c .o
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
all: assemble emulate
|
||||
|
||||
assemble: assemble.o
|
||||
emulate: emulate.o
|
||||
|
||||
clean:
|
||||
$(RM) *.o assemble emulate
|
||||
|
||||
5
src/assemble.c
Executable file
5
src/assemble.c
Executable file
@ -0,0 +1,5 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
5
src/emulate.c
Executable file
5
src/emulate.c
Executable file
@ -0,0 +1,5 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user