Subversion Repositories HelenOS-historic

Rev

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

Rev 1547 Rev 1560
Line 43... Line 43...
43
## Sources
43
## Sources
44
#
44
#
45
 
45
 
46
OUTPUT = fb
46
OUTPUT = fb
47
SOURCES = \
47
SOURCES = \
48
	fb.c \
-
 
49
	font-8x16.c \
-
 
50
	main.c \
48
	main.c \
51
	sysio.c \
49
	sysio.c \
52
	ega.c \
-
 
53
	ppm.c
50
	ppm.c
54
 
51
 
-
 
52
ifeq ($(ARCH), ia32)
-
 
53
	SOURCES += 	fb.c \
-
 
54
	font-8x16.c \
-
 
55
	ega.c 
-
 
56
endif
-
 
57
ifeq ($(ARCH), amd64)
-
 
58
	SORCES += 	fb.c \
-
 
59
	font-8x16.c \
-
 
60
	ega.c 
-
 
61
endif
-
 
62
 
-
 
63
CFLAGS += -D$(ARCH)
-
 
64
 
-
 
65
 
55
OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
66
OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
56
 
67
 
57
.PHONY: all clean depend disasm
68
.PHONY: all clean depend disasm
58
 
69
 
59
all: $(OUTPUT) disasm
70
all: $(OUTPUT) disasm