# Copyright 2022, pEp Foundation # This file is part of # This file may be used under the terms of the GNU General Public License version 3 # see LICENSE include ../Makefile.conf CXXFLAGS:=-I../src $(CXXFLAGS) LDFLAGS:=-L../src $(LDFLAGS) LDLIBS=-lstdc++ -lpthread -lm -l$(TARGET_NAME) # Test SRC_TEST=$(wildcard test_*.cc) BIN_TEST=$(subst .cc,,$(SRC_TEST)) .PHONY: all, clean all: $(TARGET_STATIC) $(BIN_TEST) $(BIN_TEST) : ../src/$(TARGET_STATIC) $(TARGET_STATIC): $(MAKE) -C ../src clean: rm -Rf *.dSYM rm -f $(BIN_TEST)