llvm-6502/tools/llee/Makefile
2004-10-29 18:36:51 +00:00

25 lines
717 B
Makefile

##===- tools/llee/Makefile ---------------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file was developed by the LLVM research group and is distributed under
# the University of Illinois Open Source License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LEVEL = ../..
LIBRARYNAME = LLVMexecve
SHARED_LIBRARY = 1
include $(LEVEL)/Makefile.common
all:: llee
llee: $(TOOLDIR)/llee
$(TOOLDIR)/llee: Makefile
@$(ECHO) Constructing llee shell script
$(VERB) echo exec env LD_PRELOAD=$(LIBDIR)/libLLVMexecve$(SHLIBEXT) $$\* > $@
$(VERB) chmod u+x $@
clean::
$(VERB) rm -f $(TOOLDIR)/llee