Remove template and instructions for C programs
This commit is contained in:
parent
20b5f3e546
commit
a3e0177f4e
5 changed files with 0 additions and 34 deletions
|
@ -1,14 +0,0 @@
|
|||
all: lib.o main.o
|
||||
gcc -Wall -o bin lib.o main.o
|
||||
|
||||
lib.o: lib.c
|
||||
gcc -c -Wall lib.c
|
||||
|
||||
main.o: main.c
|
||||
gcc -c -Wall main.c
|
||||
|
||||
run:
|
||||
./bin
|
||||
|
||||
clean:
|
||||
rm *.o bin
|
|
@ -1 +0,0 @@
|
|||
#include "lib.h"
|
|
@ -1 +0,0 @@
|
|||
#pragma once
|
|
@ -1,5 +0,0 @@
|
|||
#include "lib.h"
|
||||
|
||||
int main() {
|
||||
return 0;
|
||||
}
|
13
readme.md
13
readme.md
|
@ -4,14 +4,6 @@
|
|||
|
||||
## How to run solutions
|
||||
|
||||
For programs written in C:
|
||||
|
||||
```bash
|
||||
cd problems/random-problem
|
||||
make
|
||||
make run
|
||||
```
|
||||
|
||||
For programs written in Rust:
|
||||
|
||||
```bash
|
||||
|
@ -28,11 +20,6 @@ ruby test.rb
|
|||
|
||||
## Solution structure
|
||||
|
||||
For programs written in C:
|
||||
|
||||
- `lib.c` - the solution itself
|
||||
- `main.c` - tests
|
||||
|
||||
For programs written in Rust:
|
||||
|
||||
- `src/lib.rs` - solution and tests
|
||||
|
|
Loading…
Reference in a new issue