llvm-6502/tools/llee/Makefile
Misha Brukman bdfb1d83d2 `execve_test' is not part of LLEE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7912 91177308-0d34-0410-b5e6-96231b3b80d8
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)