root / lab2 / Makefile @ 380
History | View | Annotate | Download (469 Bytes)
1 |
# name of the program (Minix service) |
---|---|
2 |
PROG=lab2 |
3 |
|
4 |
.PATH: ${.CURDIR}/src |
5 |
|
6 |
# source code files to be compiled |
7 |
SRCS = lab2.c timer.c utils.c |
8 |
|
9 |
# additional compilation flags |
10 |
# "-Wall -Wextra -Werror -I . -std=c11 -Wno-unused-parameter" are already set |
11 |
CFLAGS += -pedantic -I./include -D LAB2 |
12 |
|
13 |
# list of library dependencies (for Lab 2, only LCF library) |
14 |
DPADD += ${LIBLCF} |
15 |
LDADD += -llcf |
16 |
|
17 |
# include LCOM's makefile that does all the "heavy lifting" |
18 |
.include <minix.lcom.mk> |