Balh balh blah

This commit is contained in:
Tyler McGurrin 2024-11-21 14:28:09 -05:00
commit 8d1adbcc25
4 changed files with 54 additions and 0 deletions

17
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,17 @@
{
"makefile.launchConfigurations": [
{
"cwd": "/build",
"binaryPath": "/build/main",
"binaryArgs": []
},
{
"cwd": "/home/xircon/Documents/Devel/opengl-test/build",
"binaryPath": "/home/xircon/Documents/Devel/opengl-test/build/main",
"binaryArgs": []
}
],
"files.associations": {
"stdint.h": "c"
}
}

16
Makefile Normal file
View File

@ -0,0 +1,16 @@
CC=gcc
LIB_DIR=lib
BUILD_DIR=build
SRC_DIR=src
.PHONY: all always clean
all: main
main: always
$(CC) -g $(SRC_DIR)/main.c -o $(BUILD_DIR)/main
chmod +x $(BUILD_DIR)/main
always:
mkdir -p $(BUILD_DIR)
clean:
rm -rf $(BUILD_DIR)

BIN
build/main Executable file

Binary file not shown.

21
src/main.c Normal file
View File

@ -0,0 +1,21 @@
/*==============*\
| Copyright 2024 |
| Tyler McGurrin |
\*==============*/
//include files
#include <stdio.h>
#include <stdint.h>
#include <GL/gl.h>
#include <GL/glut.h>
//Definitions and Vars
#define true 1;
#define false 0;
int main()
{
glutInit;
return true;
}