1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/tools/llee/Makefile
Misha Brukman 0709078b8d `execve_test' is not part of LLEE.
llvm-svn: 7912
2003-08-15 23:31:54 +00:00

22 lines
331 B
Makefile

LEVEL = ../..
include $(LEVEL)/Makefile.config
SRCS = ExecveHandler.c SysUtils.c
OBJS = $(SRCS:%.c=%.o)
SO = execve.so
all: $(SO)
%.o: %.c
gcc -g -I../../include -D_GNU_SOURCE $< -c -o $@
$(SO): $(OBJS)
gcc -g -shared -ldl -rdynamic $(OBJS) -o $@
execve_test: execve_test.c
gcc -g $< -o $@
clean:
rm -f $(OBJS) $(SO)