Subversion Repositories HelenOS

Rev

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

Rev 2479 Rev 3081
Line 41... Line 41...
41
#
41
#
42
 
42
 
43
OUTPUT = fb
43
OUTPUT = fb
44
SOURCES = \
44
SOURCES = \
45
	main.c \
45
	main.c \
46
	sysio.c \
-
 
47
	ppm.c
46
	ppm.c
48
 
47
 
49
ifneq ($(ARCH), ia64)
48
ifneq ($(ARCH), ia64)
50
	SOURCES += fb.c \
49
	SOURCES += fb.c \
51
		font-8x16.c
50
		font-8x16.c
Line 80... Line 79...
80
 
79
 
81
depend:
80
depend:
82
	$(CC) $(DEFS) $(CFLAGS) -M $(SOURCES) > Makefile.depend
81
	$(CC) $(DEFS) $(CFLAGS) -M $(SOURCES) > Makefile.depend
83
 
82
 
84
$(OUTPUT): $(OBJECTS) $(LIBS)
83
$(OUTPUT): $(OBJECTS) $(LIBS)
85
	$(LD) -T $(LIBC_PREFIX)/arch/$(ARCH)/_link.ld -e __entry_driver $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map
84
	$(LD) -T $(LIBC_PREFIX)/arch/$(ARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map
86
 
85
 
87
disasm:
86
disasm:
88
	$(OBJDUMP) -d $(OUTPUT) >$(OUTPUT).disasm
87
	$(OBJDUMP) -d $(OUTPUT) >$(OUTPUT).disasm
89
 
88
 
90
%.o: %.S
89
%.o: %.S