2016-04-06 16:36:29 +05:30
|
|
|
PLUGIN_LIBS= \
|
|
|
|
contrib/thin_sexp_emitter.a \
|
|
|
|
contrib/tmakatos_emitter.a \
|
|
|
|
contrib/ewheeler_emitter.a
|
|
|
|
|
2016-03-24 20:14:13 +05:30
|
|
|
PLUGINS=\
|
|
|
|
contrib/thin_sexp_emitter.so \
|
2016-03-24 20:51:20 +05:30
|
|
|
contrib/tmakatos_emitter.so \
|
|
|
|
contrib/ewheeler_emitter.so
|
2016-03-24 20:14:13 +05:30
|
|
|
|
2016-04-06 16:36:29 +05:30
|
|
|
contrib: $(PLUGINS) $(PLUGIN_LIBS)
|
2016-03-24 18:40:37 +05:30
|
|
|
|
2016-04-06 16:36:29 +05:30
|
|
|
contrib/%.o: contrib/%.cc
|
|
|
|
$(V)echo " [CC] $@"
|
2016-09-07 18:46:32 +05:30
|
|
|
$(V)$(CXX) $(INCLUDES) $(CXXFLAGS) $^ -c -o $@
|
2016-03-24 20:14:13 +05:30
|
|
|
|
2016-04-06 16:36:29 +05:30
|
|
|
contrib/%.a: contrib/%.o
|
|
|
|
$(V)echo " [AR] $@"
|
2020-07-26 03:34:18 +05:30
|
|
|
$(V)$(AR) rcs $@ $^
|
2016-03-24 18:40:37 +05:30
|
|
|
|
2021-06-01 11:02:26 +05:30
|
|
|
contrib/%.so: contrib/%.o
|
2016-03-24 20:51:20 +05:30
|
|
|
$(V)echo " [LD] $@"
|
2016-04-06 16:36:29 +05:30
|
|
|
$(V)$(CC) -shared -Wl,-soname,$@ -o $@ $<
|
2016-03-24 18:40:37 +05:30
|
|
|
|