diff options
author | bloodstalker <thabogre@gmail.com> | 2018-03-19 14:08:48 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-03-19 14:08:48 +0000 |
commit | 256aa3de2212dd77d80f4cf86c64f988b448bbc7 (patch) | |
tree | 2237b97f18bb6d5830e69bef7959f5726a6e3a4b /bruiser/hs/makefile | |
parent | added a lua module for asmrewriter, will soon add docs. you can try the new m... (diff) | |
download | mutator-256aa3de2212dd77d80f4cf86c64f988b448bbc7.tar.gz mutator-256aa3de2212dd77d80f4cf86c64f988b448bbc7.zip |
some fixes
Diffstat (limited to 'bruiser/hs/makefile')
-rw-r--r-- | bruiser/hs/makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/bruiser/hs/makefile b/bruiser/hs/makefile new file mode 100644 index 0000000..8787dd4 --- /dev/null +++ b/bruiser/hs/makefile @@ -0,0 +1,37 @@ +TARGET=bruiserhs +CC=clang +CC?=clang +CC_FLAGS= +CC_EXTRA?= +CC_FLAGS+=$(CC_EXTRA) + +SRCS=$(wildcard *.c) + +.DEFAULT:all clean + +.PHONY:all clean help + +all:$(TARGET) + +depend:.depend + +.depend:$(SRCS) + rm -rf .depend + $(CC) -MM $(CC_FLAGS) $^ > ./.depend + +-include ./.depend + +.c.o: + $(CC) $(CC_FLAGS) -c $< -o $@ + +$(TARGET): $(TARGET).o + $(CC) $^ $(LD_FLAGS) -o $@ + +clean: + rm -f *.o *~ $(TARGET) + rm .depend + +help: + @echo "all is the default target" + @echo "there is delete." + @echo "there is clean." |