practically the whole thing up and running. I should make commits more often...

This commit is contained in:
Odweta
2023-12-27 16:14:07 +01:00
parent 7d64937966
commit d5802dd341
14 changed files with 500 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
CC := gcc
CFLAGS := -Wall -Werror
LIBSPATH := -L/usr/lib/odweta/
INCLUDEDIR := -I/usr/include/odweta/
PATCH := -Wl,-rpath=/usr/lib/odweta/
.PHONY: build run
default: build
build: src/main.c # add files to compile here
@$(CC) $(CFLAGS) -o ./build/$@ $^ $(PATCH) $(INCLUDEDIR) $(LIBSPATH) $(LIBS)
run:
@./build/main
+3
View File
@@ -0,0 +1,3 @@
# example_project
Your project description goes here
+5
View File
@@ -0,0 +1,5 @@
#include <stdio.h>
int main() {
printf("Hello, world!\n");
}