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.
 
 

27 lines
551 B

# Copyright 2022, pEp Foundation
# This file is part of <project_name>
# 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)