Revision 9
FINAL
Makefile | ||
---|---|---|
1 |
# name of the program (Minix service) |
|
2 |
PROG=lab3 |
|
3 |
|
|
4 |
# source code files to be compiled |
|
5 |
SRCS = lab3.c #timer.c utils.c |
|
6 |
|
|
7 |
# additional compilation flags |
|
8 |
# "-Wall -Wextra -Werror -I . -std=c11 -Wno-unused-parameter" are already set |
|
9 |
CFLAGS += -pedantic |
|
10 |
CPPFLAGS += -D LAB3 |
|
11 |
|
|
12 |
# list of library dependencies (for Lab 2, only LCF library) |
|
13 |
DPADD += ${LIBLCF} |
|
14 |
LDADD += -llcf |
|
15 |
|
|
16 |
# include LCOM's makefile that does all the "heavy lifting" |
|
17 |
.include <minix.lcom.mk> |
|
1 |
# name of the program (Minix service) |
|
2 |
PROG=lab3 |
|
3 |
|
|
4 |
# source code files to be compiled |
|
5 |
SRCS = lab3.c keyboard.c |
|
6 |
|
|
7 |
# additional compilation flags |
|
8 |
# "-Wall -Wextra -Werror -I . -std=c11 -Wno-unused-parameter" are already set |
|
9 |
CPPFLAGS += -pedantic -DLAB3 |
|
10 |
|
|
11 |
# list of library dependencies (for Lab 2, only LCF library) |
|
12 |
DPADD += ${LIBLCF} |
|
13 |
LDADD += -llcf |
|
14 |
|
|
15 |
# include LCOM's makefile that does all the "heavy lifting" |
|
16 |
.include <minix.lcom.mk> |
Also available in: Unified diff