aboutsummaryrefslogblamecommitdiffstats
path: root/safercpp/makefile
blob: cd5a0b8a4b3c0397118310d08b2b31101dc61a96 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11




                                                                               
                 
                    



                                                                                                   




















                                                                                                                                       
######################################INCLUDES#################################
include ../macros.mk

#######################################VARS####################################
CXX_FLAGS+=-frtti
SFCPP01=safercpp-arr

ifeq ($(shell $(LLVM_CONF) --has-rtti), NO)
$(error your llvm-config says you dont have rtti. you cant build safercpparr without rtti support.)
endif
######################################RULES####################################
.DEFAULT: all

.PHONY: all clean help $(SFCPP01)

all: $(SFCPP01)

.cpp.o:
	$(CXX) $(CXX_FLAGS) -c $< -o $@

$(SFCPP01): $(SFCPP01).o ../mutator_aux.o
	$(CXX) $^ $(LD_FLAGS) -o $@

clean:
	rm -f *.o *~ $(SFCPP01)

help:
	@echo 'There is help.'
	@echo 'All is the defualt target.'
	@echo 'Clean runs clean.'
	@echo 'For a more complete and detaild list of BUILD_MODE and other things look at the main makefiles help under project root.'