Change const to #define + cleanup

This commit is contained in:
2024-10-13 23:03:27 +08:00
parent 64195dd5a9
commit 988bc52e57
4 changed files with 15 additions and 16 deletions
+1 -6
View File
@@ -21,13 +21,8 @@ $(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) $(TARGET1) $(test) $(OBJD)
rm -r $(TARGET) $(TARGET1) $(OBJD)
run: $(TARGET)
./$(TARGET)