Refactor audio and texture into own files

This commit is contained in:
2024-10-13 22:43:33 +08:00
parent 92d3e150cb
commit 64195dd5a9
7 changed files with 293 additions and 259 deletions
+6 -1
View File
@@ -21,8 +21,13 @@ $(OBJS): $(OBJD)/%.o: %.c
mkdir -p $(@D)
$(CC) $(CCFLAGS) -c $? -o $@
TARGET1 = test
$(TARGET1): example-test-code/audiotest.c
$(CC) $(CCFLAGS) $^ -o $(TARGET1) $(LDFLAGS)
clean:
rm -r $(TARGET) $(OBJD)
rm -r $(TARGET) $(TARGET1) $(test) $(OBJD)
run: $(TARGET)
./$(TARGET)