Fix bug when the focused window deinitialized
[notion.git] / mod_notionflux / notionflux / Makefile
blob590b10e628610313ab4c5d48ee774145524a38a0
1 ##
2 ## Notionflux Makefile
3 ##
5 # System-specific configuration is in system.mk
6 TOPDIR=../..
7 include $(TOPDIR)/build/system-inc.mk
9 ######################################
11 CFLAGS += $(XOPEN_SOURCE)
13 INCLUDES += $(X11_INCLUDES) -I$(TOPDIR)
15 LIBS += $(X11_LIBS)
17 SOURCES=notionflux.c
19 TARGETS=notionflux
21 ######################################
23 include $(TOPDIR)/build/rules.mk
25 ######################################
27 notionflux: $(SOURCES)
28 $(CC) $< $(CFLAGS) $(LDFLAGS) -o $@
30 _install:
31 $(INSTALLDIR) $(DESTDIR)$(BINDIR)
32 $(INSTALL) -s -m $(BIN_MODE) notionflux $(DESTDIR)$(BINDIR)