update imgui

This commit is contained in:
2023-10-23 13:15:24 +02:00
parent 21b1ae4baa
commit 375f250f8c
3 changed files with 10 additions and 4 deletions

3
.gitignore vendored
View File

@@ -3,5 +3,6 @@
Revird
*.ko
TaxiDriver.mod.c
imgui.ini
*.o
*.cmd
*.cmd

View File

@@ -1,13 +1,15 @@
SRC = main.cpp \
memory.cpp
memory.cpp \
imgui/*.cpp
OBJ = $(SRC:.cpp=.o)
NAME = Revird
CFLAGS = -Wall -Wextra -Wpedantic
INC = -Iimgui/
CFLAGS = -Wall -Wextra -Wpedantic -lSDL3 -lOpenGL
all: $(NAME)
$(NAME): $(OBJ)
g++ $(SRC) $(CFLAGS) -o $(NAME)
g++ $(SRC) $(CFLAGS) $(INC) -o $(NAME)
mv $(NAME) ../../.
clean:

View File

@@ -1,7 +1,9 @@
#include "memory.hpp"
#include <stdint.h>
#include "imgui/imgui.h"
int main() {
/*
if (!open_device())
return -1;
@@ -17,5 +19,6 @@ int main() {
printf("Value from RPM: %d\n", out);
close_device();
*/
return 0;
}