added sed command in makefile to concat quine
This commit is contained in:
35
notes.md
35
notes.md
@@ -2,6 +2,41 @@
|
||||
- [preprocessor strip comments before exapnding macros](https://stackoverflow.com/questions/1510869/does-the-c-preprocessor-strip-comments-or-expand-macros-first)
|
||||
- [create an include with a macro OR NOT](https://stackoverflow.com/questions/1135822/escaping-a-symbol-in-a-define-macro)
|
||||
|
||||
---
|
||||
|
||||
## make rules :
|
||||
|
||||
- make in root will make all projects
|
||||
- make in each project will compile this project
|
||||
- make diff : compile if necessary, and run the program then compare the output
|
||||
- make concat : create the concatenated version, finale version, of the quine
|
||||
|
||||
## folder structure
|
||||
|
||||
> Each programs will have to be coded in C and in Assembly, and respectivly in a folder named C and ASM, each folders containing its own Makefile with the usual rules.
|
||||
|
||||
```
|
||||
dr_quine/
|
||||
│
|
||||
├─ C/
|
||||
│ ├─ Colleen.c
|
||||
│ ├─ Grace.c
|
||||
│ ├─ Sully.c
|
||||
│ ├─ Makefile
|
||||
│ └─ ...
|
||||
│
|
||||
└─ ASM/
|
||||
├─ Colleen.asm
|
||||
├─ Grace.asm
|
||||
├─ Sully.asm
|
||||
├─ Makefile
|
||||
└─ ...
|
||||
```
|
||||
|
||||
|
||||
---
|
||||
|
||||
|
||||
## Grace
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user