diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7839649 --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +michelson: main.c + gcc main.c -o michelson -lraylib -lGL -lm -lpthread -ldl -lrt -lX11 + +clean: + rm -f michelson + +run: + ./michelson diff --git a/main.c b/main.c index 02efc07..8337ae7 100644 --- a/main.c +++ b/main.c @@ -1,6 +1,13 @@ #include "raylib.h" int main () { - + InitWindow(1200, 800, "Interféromètre de Michelson"); + SetTextLineSpacing(144); + while (!WindowShouldClose()) { + BeginDrawing(); + ClearBackground(BLACK); + EndDrawing(); + } + CloseWindow(); return 0; }