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