KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have to create different *.o files from a same set of *.c using various CFLAGS. I wanted to use patsubst to generate different *.o files from same *.c. I am doing something wrong the following statement, please help (I want to generate one set of object files having ($<)_O0.o and the other ($<)_O2.o from the same set of c source files): $(CC) $(CFLAGS_02) -c $< -o $(patsubst %.c,%_O2.o,$<) Thanks
Tags (comma-separated)
Save Edits
Cancel