root / lab2 / Makefile
History | View | Annotate | Download (427 Bytes)
1 | 1 | up20180614 | # name of the program (Minix service) |
---|---|---|---|
2 | PROG=lab2 |
||
3 | |||
4 | # source code files to be compiled |
||
5 | SRCS = lab2.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 | |||
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> |