root / lab2 / Makefile @ 391
History | View | Annotate | Download (469 Bytes)
1 | 4 | up20180655 | # name of the program (Minix service) |
---|---|---|---|
2 | 196 | up20180642 | PROG=lab2 |
3 | 4 | up20180655 | |
4 | 196 | up20180642 | .PATH: ${.CURDIR}/src |
5 | |||
6 | 4 | up20180655 | # 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 | 196 | up20180642 | CFLAGS += -pedantic -I./include -D LAB2 |
12 | 4 | up20180655 | |
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> |