Skip to content

Instantly share code, notes, and snippets.

@postwait
Created March 20, 2020 16:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save postwait/b731faeb9548ccd90c09d46b714031cf to your computer and use it in GitHub Desktop.
Save postwait/b731faeb9548ccd90c09d46b714031cf to your computer and use it in GitHub Desktop.
DISPLACE=../
MODULES=prometheus.$(MODULEEXT)
include ../Makefile
LIBS=-lsnappyc -lnoit
OBJS=prometheus.mo prometheus.pb-c.mo types.pb-c.mo
### Prometheus Ingress Module
prometheus.mo: prometheus.c prometheus.xmlh
prometheus.pb-c.mo: prometheus.pb-c.c
types.pb-c.mo: types.pb-c.c
prometheus.$(MODULEEXT): $(OBJS)
$(Q)$(MODULELD) $(LOCAL_LIBPATHS) $(MODULESHLDFLAGS) -o $@ $(OBJS) $(LIBS)
@echo "- linking $@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment