Files
mckernel/executer/user/Makefile.in
Masamichi Takagi m-takagi@ab.jp.nec.com d3764f0417 revert compile option of $(EXTRA_CFLAGS) and compiled objects of $(EXTRA_OBJS)
in executer/user/Makefile.in, which builds mcexec, because DCFA in
comm-ib repository passes these variables to combine additional binaries to
create custom mcexec
2013-05-14 10:20:09 +09:00

20 lines
291 B
Makefile

CC=@CC@
BINDIR=@BINDIR@
CFLAGS=-Wall -O -fPIE -pie
TARGET=mcexec
all: $(TARGET)
mcexec: mcexec.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -pthread -o $@ $^ $(EXTRA_OBJS)
clean:
$(RM) $(TARGET) *.o
.PHONY: all clean install
install:
mkdir -p -m 755 $(BINDIR)
install -m 755 mcexec $(BINDIR)