Subversion Repositories HelenOS

Rev

Rev 3667 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3667 Rev 3695
Line 46... Line 46...
46
		   -j .rela -j .reloc --target=$(FORMAT) hello.so hello.efi
46
		   -j .rela -j .reloc --target=$(FORMAT) hello.so hello.efi
47
	$(OBJDUMP) -d hello.efi > hello.disass  
47
	$(OBJDUMP) -d hello.efi > hello.disass  
48
 
48
 
49
#When selected first lines or second lines, select if image is linked into hello or not - usefull for network boot
49
#When selected first lines or second lines, select if image is linked into hello or not - usefull for network boot
50
#hello.so: hello.o image.o division.o
50
#hello.so: hello.o image.o division.o
51
hello.so: hello.o image.bin
51
hello.so: hello.o image.bin division.o
52
#	$(LD) $(LDFLAGS) -Map hello.map hello.o division.o image.o -o hello.so $(LOADLIBES) #link image inside hello
52
#	$(LD) $(LDFLAGS) -Map hello.map hello.o division.o image.o -o hello.so $(LOADLIBES) #link image inside hello
53
	$(LD) $(LDFLAGS) -Map hello.map hello.o division.o -o hello.so $(LOADLIBES) #dont link image inside hello
53
	$(LD) $(LDFLAGS) -Map hello.map hello.o division.o -o hello.so $(LOADLIBES) #dont link image inside hello
54
 
54
 
55
hello.o: hello.c
55
hello.o: hello.c
56
	$(CC) $(INCDIR) $(CFLAGS) $(CPPFLAGS) -c hello.c -o hello.o
56
	$(CC) $(INCDIR) $(CFLAGS) $(CPPFLAGS) -c hello.c -o hello.o