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