Created
March 14, 2024 07:27
-
-
Save zaerl/01dcf45eccab86d6a6625a0ec43179a8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get all .c files from src/ directory | |
SRCS = $(shell find $(SRC_DIR) -type f -name "*.c") | |
# Generate corresponding .o file names | |
OBJS = $(patsubst $(SRC_DIR)/%, $(BUILD_DIR)/%, $(SRCS:.c=.o)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment