blob: 7cb4918cc3aeb00a5b9b8af5c03903208c0cdc0e (
plain) (
tree)
|
|
##################################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.'
|