Browse Source

update dependencies

CPP-GTK4
yggverse 3 months ago
parent
commit
125fb4ebdf
  1. 4
      Makefile
  2. 2
      src/Yoda/Browser.h
  3. 3
      src/Yoda/Browser/Header.h

4
Makefile

@ -5,7 +5,9 @@ LDFLAGS = `pkg-config --libs gtk4`
# Define target executable and source files # Define target executable and source files
TARGET = bin/Yoda TARGET = bin/Yoda
SRCS = src/main.cpp $(wildcard src/**/*.cpp) SRCS = src/*.cpp\
src/Yoda/*.cpp\
src/Yoda/Browser/*.cpp
OBJS = $(SRCS:.cpp=.o) OBJS = $(SRCS:.cpp=.o)

2
src/Yoda/Browser.h

@ -1,8 +1,10 @@
#ifndef YODA_BROWSER_H #ifndef YODA_BROWSER_H
#define YODA_BROWSER_H #define YODA_BROWSER_H
// Dependencies
#include "../main.h" #include "../main.h"
// Requirements
#include "Browser/Header.h" #include "Browser/Header.h"
namespace Yoda namespace Yoda

3
src/Yoda/Browser/Header.h

@ -1,7 +1,8 @@
#ifndef YODA_BROWSER_HEADER_H #ifndef YODA_BROWSER_HEADER_H
#define YODA_BROWSER_HEADER_H #define YODA_BROWSER_HEADER_H
#include "../../main.h" // Dependencies
#include "../Browser.h"
namespace YodaBrowser namespace YodaBrowser
{ {

Loading…
Cancel
Save