diff options
author | bloodstalker <thabogre@gmail.com> | 2017-10-26 13:57:41 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-10-26 13:57:41 +0000 |
commit | d74c51155427861c4fcc84f823bf436b6c27638f (patch) | |
tree | e1e74d07fa09e3fa7507800ba55636fb023fef12 /bfd/makefile | |
parent | fixes #18 (diff) | |
download | mutator-d74c51155427861c4fcc84f823bf436b6c27638f.tar.gz mutator-d74c51155427861c4fcc84f823bf436b6c27638f.zip |
playing around with libbfd
Diffstat (limited to '')
-rw-r--r-- | bfd/makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/bfd/makefile b/bfd/makefile new file mode 100644 index 0000000..7cb4918 --- /dev/null +++ b/bfd/makefile @@ -0,0 +1,30 @@ + +##################################VARS################################# +CC=clang +CC_FLAGS= +LD_FLAGS= -l bfd +TARGET=main +##################################RULES################################ +.DEFAULT:all + +.PHONY:all clean help $(TARGET) + +all:$(TARGET) + +.c.o: + $(CC) $(CC_FLAGS) -c $< -o $@ + +$(TARGET): $(TARGET).o + $(CC) $^ $(LD_FLAGS) -o $@ + +clean: + rm -f *.o *~ $(TARGET) + +help: + @echo 'all builds the daemon, the server and the client. all is the default.' + @echo 'mutatord builds the daemon with the server' + @echo 'mutatorc builds the client' + @echo 'mutators builds the standalone server' + @echo 'clean runs clean.' + @echo 'help runs help.' + |