Subversion Repositories HelenOS

Rev

Rev 4153 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4153 Rev 4581
Line 32... Line 32...
32
LIBC_PREFIX = ../../lib/libc
32
LIBC_PREFIX = ../../lib/libc
33
SOFTINT_PREFIX = ../../lib/softint
33
SOFTINT_PREFIX = ../../lib/softint
34
 
34
 
35
include $(LIBC_PREFIX)/Makefile.toolchain
35
include $(LIBC_PREFIX)/Makefile.toolchain
36
 
36
 
37
CFLAGS += -I../libipc/include
-
 
38
 
-
 
39
LIBS =  $(LIBC_PREFIX)/libc.a
37
LIBS = $(LIBC_PREFIX)/libc.a
40
 
38
 
41
## Sources
39
## Sources
42
#
40
#
43
 
41
 
44
OUTPUT = devmap
42
OUTPUT = devmap
Line 65... Line 63...
65
	$(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map
63
	$(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map
66
 
64
 
67
disasm: $(OUTPUT).disasm
65
disasm: $(OUTPUT).disasm
68
 
66
 
69
$(OUTPUT).disasm: $(OUTPUT)
67
$(OUTPUT).disasm: $(OUTPUT)
70
	$(OBJDUMP) -d $< >$@
68
	$(OBJDUMP) -d $< > $@
71
 
69
 
72
%.o: %.S
70
%.o: %.S
73
	$(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@
71
	$(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@
74
 
72
 
75
%.o: %.s
73
%.o: %.s