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
25 lines
387 B
# this file is under GNU GPL 3.0, see LICENSE.txt
|
|
|
|
include Makefile.conf
|
|
-include local.conf
|
|
|
|
TARGET?=libpEpAdapter.a
|
|
PEPENGINE_IN?=$(HOME)
|
|
|
|
CXXFLAGS += -I$(HOME)/include -std=c++14
|
|
|
|
SOURCE=$(wildcard *.cc)
|
|
OBJECTS=$(subst .cc,.o,$(SOURCE))
|
|
|
|
all: $(TARGET)
|
|
|
|
%.o: %.cc %.hh
|
|
$(CXX) $(CXXFLAGS) -c $<
|
|
|
|
$(TARGET): $(OBJECTS)
|
|
ar -rc $@ $^
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
rm -f $(TARGET) $(OBJECTS)
|
|
|