Subversion Repositories HelenOS

Rev

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

Rev 3674 Rev 4337
Line 55... Line 55...
55
ifeq ($(ARCH), ia32)
55
ifeq ($(ARCH), ia32)
56
	SOURCES += ega.c
56
	SOURCES += ega.c
57
	CFLAGS += -DEGA_ENABLED
57
	CFLAGS += -DEGA_ENABLED
58
endif
58
endif
59
ifeq ($(ARCH), ia64)
59
ifeq ($(ARCH), ia64)
60
	SOURCES += ega.c
60
	SOURCES += ega.c \
-
 
61
		   ski.c \
-
 
62
		   serial_console.c
-
 
63
	CFLAGS += -DSKI_ENABLED
61
	CFLAGS += -DEGA_ENABLED
64
	CFLAGS += -DEGA_ENABLED
62
endif
65
endif
63
ifeq ($(ARCH), amd64)
66
ifeq ($(ARCH), amd64)
64
	SOURCES += ega.c
67
	SOURCES += ega.c
65
	CFLAGS += -DEGA_ENABLED
68
	CFLAGS += -DEGA_ENABLED
Line 85... Line 88...
85
all: $(OUTPUT) $(OUTPUT).disasm
88
all: $(OUTPUT) $(OUTPUT).disasm
86
 
89
 
87
-include Makefile.depend
90
-include Makefile.depend
88
 
91
 
89
clean:
92
clean:
90
	-rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend
93
	-rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend $(OBJECTS)
91
 
94
 
92
depend:
95
depend:
93
	$(CC) $(DEFS) $(CFLAGS) -M $(SOURCES) > Makefile.depend
96
	$(CC) $(DEFS) $(CFLAGS) -M $(SOURCES) > Makefile.depend
94
 
97
 
95
$(OUTPUT): $(OBJECTS) $(LIBS)
98
$(OUTPUT): $(OBJECTS) $(LIBS)