llvm-6502/tools/llee/Makefile
2003-08-11 22:29:36 +00:00

22 lines
343 B
Makefile

LEVEL = ../..
include $(LEVEL)/Makefile.config
SRCS = ExecveHandler.c SysUtils.c
OBJS = $(SRCS:%.c=%.o)
SO = execve.so
all: $(SO) execve_test
%.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)