Hi,
Using the command "make apps", I wanna generate two executables: main_test.exe and main_app2.exe. For some reason, the command to generate main_test.exe is more is less completley ignored when I run the makefile. Finally, I end up with a main_app.exe and main_app2.exe file but there is no main_test.exe file produced. Anyone an idea why objcopy command is ignored in my makefile?
# make apps to generate executables
main_app.exe: main.c lib3tests.a
$(XCC) $(XCFLAGS) main.c $(XLDFLAGS) -o main_app.exe
main_test.exe: main_app.exe
$/bin/sparc-elf-objcopy --add-section .myelfsection=file.txt --change-section-address .myelfsection=0xcd000000 --set-section-flags .myelfsection=alloc,contents,load,data main_app.exe
main_app2.exe: main.c lib3tests.a
$(XCC) $(XCFLAGS) main.c $(XLDFLAGS) -o main_app2.exe
apps: main_app2.exe main_test.exe
Many thanks