Compare commits
No commits in common. "main" and "v1.3.0" have entirely different histories.
3 changed files with 4 additions and 15 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,3 @@
|
|||
*.exe
|
||||
**/.DS_Store
|
||||
bin/
|
||||
melody-allocator
|
||||
|
|
11
Makefile
11
Makefile
|
@ -1,11 +0,0 @@
|
|||
EXEC = "melody-allocator"
|
||||
|
||||
$(EXEC):
|
||||
gcc -o ./$(EXEC) -O2 ./main.c
|
||||
|
||||
install: $(EXEC)
|
||||
cp $(EXEC) /usr/local/bin/
|
||||
chmod +x /usr/local/bin/$(EXEC)
|
||||
|
||||
clean:
|
||||
rm ./$(EXEC)
|
|
@ -17,9 +17,10 @@ OPTIONS
|
|||
|
||||
## how to compile
|
||||
|
||||
- `make`
|
||||
- (optional) `sudo make install`
|
||||
- yeag
|
||||
- get a c compiler (i use gcc or clang)
|
||||
- `gcc -o ./allocatememory -O2 ./main.c`
|
||||
- ???
|
||||
- profit
|
||||
|
||||
## why
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue