Subversion Repositories HelenOS

Rev

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

Rev 4342 Rev 4691
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 = fb
42
OUTPUT = fb
Line 103... Line 101...
103
	$(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map
101
	$(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map
104
 
102
 
105
disasm: $(OUTPUT).disasm
103
disasm: $(OUTPUT).disasm
106
 
104
 
107
$(OUTPUT).disasm: $(OUTPUT)
105
$(OUTPUT).disasm: $(OUTPUT)
108
	$(OBJDUMP) -d $< >$@
106
	$(OBJDUMP) -d $< > $@
109
 
107
 
110
%.o: %.S
108
%.o: %.S
111
	$(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@
109
	$(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@
112
 
110
 
113
%.o: %.s
111
%.o: %.s