Initial Commit
This commit is contained in:
commit
dde139ab1f
24
Makefile
Normal file
24
Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
INC := -I include
|
||||
|
||||
all: compile link
|
||||
|
||||
compile:
|
||||
gcc $(INC) -c -o build/main.o src/main.c
|
||||
|
||||
link:
|
||||
gcc -o bin/stuffy.out build/*.o
|
||||
|
||||
exec: compile link
|
||||
./bin/stuffy.out
|
||||
|
||||
debug: clean debugCompile debugLink
|
||||
|
||||
debugCompile:
|
||||
gcc $(INC) -g -c -o build/main.o src/main.c
|
||||
|
||||
debugLink:
|
||||
gcc -g -o bin/stuffy.out build/*.o
|
||||
|
||||
clean:
|
||||
rm build/*.o
|
||||
rm bin/*.out
|
0
build/.keep
Normal file
0
build/.keep
Normal file
0
include/stuffy.h
Normal file
0
include/stuffy.h
Normal file
7
src/main.c
Normal file
7
src/main.c
Normal file
@ -0,0 +1,7 @@
|
||||
#include "stuffy.h"
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
Stuffy(argc, argv);
|
||||
return 0;
|
||||
}
|
0
src/stuffy.c
Normal file
0
src/stuffy.c
Normal file
Loading…
Reference in New Issue
Block a user