how to enable #ifdef macro in the command line of make?时间:2023-01-01 02:45:02Compilers normally use the -D flags eg Code: test.o: test.cpp $(CC) $(CFLAGS) -DTEST1 test.cpp -o $@