update imgui
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,5 +3,6 @@
|
||||
Revird
|
||||
*.ko
|
||||
TaxiDriver.mod.c
|
||||
imgui.ini
|
||||
*.o
|
||||
*.cmd
|
||||
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user