logo

rc-status-page

Unnamed repository; edit this file 'description' to name the repository.

Makefile (335B)


  1. CC ?= cc
  2. CFLAGS ?= -O2 -ggdb -Wall -Wextra
  3. PKG_CONFIG ?= pkg-config
  4. CFLAGS_openrc = `$(PKG_CONFIG) --cflags openrc`
  5. LIBS_openrc = `$(PKG_CONFIG) --libs openrc`
  6. all: rc-status-page
  7. rc-status-page: rc-status-page.c
  8. $(CC) -std=c11 $(CFLAGS) $(CFLAGS_openrc) -o $@ $< $(LDFLAGS) $(LIBS_openrc)
  9. .PHONY: clean
  10. clean:
  11. rm rc-status-page