moved code here. still needs to update gh

This commit is contained in:
klein panic
2025-02-24 15:18:44 -05:00
parent 9ca9f577a4
commit 2726432fe1
106 changed files with 4816 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
CC = gcc
CFLAGS = -Wall -Wextra -std=c11
# The final executable name
TARGET = terrarium
# Source files
SRCS = main.c game.c ascii_plant_data.c
# Object files
OBJS = $(SRCS:.c=.o)
all: $(TARGET)
$(TARGET): $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS)
%.o: %.c
$(CC) $(CFLAGS) -c $<
clean:
rm -f $(TARGET) *.o
rm -f terrarium_save.dat