xnote

X11 note-taking app
git clone https://git.sinitax.com/sinitax/xnote
Log | Files | Refs | sfeed.txt

Makefile (427B)


      1PREFIX ?= /usr/local
      2BINDIR ?= /bin
      3
      4LDLIBS = -lglfw -lGL $(shell pkg-config --libs freetype2 fontconfig)
      5CFLAGS = $(shell pkg-config --cflags freetype2 fontconfig) $(CFLAGS_EXTRA)
      6
      7ifeq ($(DEBUG),1)
      8CFLAGS += -Og -g
      9endif
     10
     11all: xnote
     12
     13xnote: xnote.c
     14
     15clean:
     16	rm -f xnote
     17
     18install:
     19	install -m755 xnote -t "$(DESTDIR)$(PREFIX)$(BINDIR)"
     20
     21uninstall:
     22	rm "$(DESTDIR)$(PREFIX)$(BINDIR)/xnote"
     23
     24.PHONY: all clean install uninstall