Initial Commit

This commit is contained in:
klein panic
2024-09-27 19:32:14 -04:00
commit 53610a8c1c
21 changed files with 1340 additions and 0 deletions

24
riceapp/build/Makefile Normal file
View File

@@ -0,0 +1,24 @@
CC = gcc
CFLAGS = -I../include -Wall -O2
LDFLAGS = -lm
SRCDIR = ../src
OBJDIR = ../obj
BUILDDIR = ../build
TARGET = cube_app
SOURCES = $(wildcard $(SRCDIR)/*.c)
OBJECTS = $(SOURCES:$(SRCDIR)/%.c=$(OBJDIR)/%.o)
all: $(TARGET)
$(TARGET): $(OBJECTS)
$(CC) $(OBJECTS) $(LDFLAGS) -o $(BUILDDIR)/$(TARGET)
$(OBJDIR)/%.o: $(SRCDIR)/%.c
$(CC) $(CFLAGS) -c $< -o $@
clean:
rm -f $(OBJDIR)/*.o $(BUILDDIR)/$(TARGET)
.PHONY: all clean

BIN
riceapp/build/cube_app Executable file

Binary file not shown.