Make build rule even more explicit
[khome.git] / src / Makefile
1 CPPFLAGS := -D_POSIX_C_SOURCE=200809L
2 CFLAGS := -std=c99 -Wall -Wextra -pedantic
3 LDLIBS := -lncurses
4 LDFLAGS := -s # Remove all symbol table and relocation information from the
5 # executable.
6
7 .PHONY: build clean
8
9 build: clockloop
10
11 clean:
12 rm -f clockloop
13
14 clockloop: clockloop.c
15 $(CC) $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -o $@ $< $(LDLIBS)
This page took 0.042108 seconds and 4 git commands to generate.