main window + Makefile
This commit is contained in:
8
Makefile
Normal file
8
Makefile
Normal file
@ -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
|
||||||
9
main.c
9
main.c
@ -1,6 +1,13 @@
|
|||||||
#include "raylib.h"
|
#include "raylib.h"
|
||||||
|
|
||||||
int main () {
|
int main () {
|
||||||
|
InitWindow(1200, 800, "Interféromètre de Michelson");
|
||||||
|
SetTextLineSpacing(144);
|
||||||
|
while (!WindowShouldClose()) {
|
||||||
|
BeginDrawing();
|
||||||
|
ClearBackground(BLACK);
|
||||||
|
EndDrawing();
|
||||||
|
}
|
||||||
|
CloseWindow();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user