commit 8d1adbcc254eebdb1c9a7a3f3c73dfaf54a9617d Author: Tyler McGurrin Date: Thu Nov 21 14:28:09 2024 -0500 Balh balh blah diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..a47a11b --- /dev/null +++ b/.vscode/settings.json @@ -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" + } +} \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..011fcec --- /dev/null +++ b/Makefile @@ -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) \ No newline at end of file diff --git a/build/main b/build/main new file mode 100755 index 0000000..2c7fe00 Binary files /dev/null and b/build/main differ diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..23cb05b --- /dev/null +++ b/src/main.c @@ -0,0 +1,21 @@ +/*==============*\ +| Copyright 2024 | +| Tyler McGurrin | +\*==============*/ + +//include files +#include +#include +#include +#include + +//Definitions and Vars +#define true 1; +#define false 0; + + +int main() +{ + glutInit; + return true; +} \ No newline at end of file