diff options
author | bloodstalker <thabogre@gmail.com> | 2018-02-01 21:12:56 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-02-01 21:12:56 +0000 |
commit | 1062f2a106a0215596c62140e650a83252996a2f (patch) | |
tree | 5070bed95027dedd26ebba6af815790bbf9ca006 /obfuscator | |
parent | travis fix (diff) | |
download | mutator-1062f2a106a0215596c62140e650a83252996a2f.tar.gz mutator-1062f2a106a0215596c62140e650a83252996a2f.zip |
makefile update or they kinda do what they were supposed to do
Diffstat (limited to 'obfuscator')
-rw-r--r-- | obfuscator/makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/obfuscator/makefile b/obfuscator/makefile index ccfc405..11a3219 100644 --- a/obfuscator/makefile +++ b/obfuscator/makefile @@ -4,13 +4,22 @@ include ../macros.mk #######################################VARS#################################### OBSC=obfuscator +SRCS=$(wildcard *.cpp) ######################################RULES#################################### .DEFAULT: all -.PHONY: all clean help +.PHONY: all clean help depend all: $(OBSC) +depend: .depend + +.depend:$(SRCS) + rm -f ./.depend + $(CXX) -MM $(CXX_FLAGS) $^ > ./.depend + +-include ./.depend + .cpp.o: $(CXX) $(CXX_FLAGS) -c $< -o $@ @@ -19,6 +28,7 @@ $(OBSC): $(OBSC).o ../mutator_aux.o clean: rm -f *.o *~ $(OBSC) + rm ./.depend help: @echo 'There is help.' |