aboutsummaryrefslogtreecommitdiffstats
path: root/obfuscator/makefile
blob: 9a9981fe3b509b6d68dd83bdfdf9b9fc3195fa96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
######################################INCLUDES#################################
include ../macros.mk

#######################################VARS####################################
OBSC=obfuscator
SRCS=$(wildcard *.cpp)
######################################RULES####################################
.DEFAULT: all

.PHONY: all clean help depend

all: $(OBSC)

depend: .depend

.depend:$(SRCS)
	rm -f ./.depend
	$(CXX) -MM $(CXX_FLAGS) $^ > ./.depend

-include ./.depend

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

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

clean:
	rm -f *.o *~ $(OBSC)
	rm ./.depend

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.'