metasploit-framework/external/source/ipwn/Makefile.native

17 lines
286 B
Makefile
Raw Normal View History

SRC = cmd_base.c cmd_expl.c cmd_fd.c cmd_fs.c cmd_misc.c \
cmd_privs.c cmd_proc.c cmd_sys.c main.c misc.c
CFLAGS=-Wall -s
BIN = $(SRC:.c=.o)
all: clean ${BIN} ipwn
%.o: %.c
$(CC) -c $(CFLAGS) $*.c
ipwn:
$(CC) $(CFLAGS) $(LDFLAGS) -o ipwn *.o
clean:
rm -f ipwn *.o