added sed command in makefile to concat quine

This commit is contained in:
asus
2024-01-25 18:40:37 +01:00
parent 805f3b695f
commit 65aac2c25a
4 changed files with 60 additions and 24 deletions

View File

@@ -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
---