Isaku Yamahata wrote:
Something like the below didn't work? (I just wrote it just to show my idea. I didn't any test.)
+src/%.hex: src/acpi-ssdt.dsl src/mk_ssdt.c
@echo "Compiling SSDT for general os which support more cpus"
$(Q)$(CC) -o mk_$* src/mk_ssdt.c
Maybe the mk_ssdt.c tool could also be built just once if it is changed to take an integer parameter, instead of deriving the loop count from the executable name.
//Peter