C++11 library providing functionality common to all adapters.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
387 B

5 years ago
  1. # this file is under GNU GPL 3.0, see LICENSE.txt
  2. include Makefile.conf
  3. -include local.conf
  4. TARGET?=libpEpAdapter.a
  5. PEPENGINE_IN?=$(HOME)
  6. CXXFLAGS += -I$(HOME)/include -std=c++14
  7. SOURCE=$(wildcard *.cc)
  8. OBJECTS=$(subst .cc,.o,$(SOURCE))
  9. all: $(TARGET)
  10. %.o: %.cc %.hh
  11. $(CXX) $(CXXFLAGS) -c $<
  12. $(TARGET): $(OBJECTS)
  13. ar -rc $@ $^
  14. .PHONY: clean
  15. clean:
  16. rm -f $(TARGET) $(OBJECTS)