diff --git a/.gitignore b/.gitignore index c6fb05b..3f8bde6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ /bin /**/*.out /ignore -main.rs +*.rs test.cpp test.rs \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..619abc7 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +CC=rustc + + +default: build-rs + +build-rs: + node main.js main.cpp && $(CC) main.rs -o main.out + +run: + ./main.out + +clean: + rm *.out +