mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
run.mk: Add file (stripped build functionality from exe.mk)
This commit is contained in:
parent
5de86a7048
commit
08b36f3ae6
1 changed files with 28 additions and 0 deletions
28
make/run.mk
Normal file
28
make/run.mk
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# generic utility modules
|
||||
# (c) 2001 jannet it services
|
||||
# contact@jannet.de
|
||||
# $Id$
|
||||
|
||||
ifeq ($(EXE),)
|
||||
EXE = $(notdir $(shell pwd))
|
||||
endif
|
||||
|
||||
include $(MODDIR)/make/defs.mk
|
||||
include $(MODDIR)/make/rules.mk
|
||||
include $(MODDIR)/make/ldlibpath.mk
|
||||
|
||||
LD_LIB_PATH_ORIG := $(LD_LIBRARY_PATH)
|
||||
export LD_LIBRARY_PATH=$(shell echo $(strip $(LD_LIB_PATH):$(LD_LIB_PATH_ORIG)) | sed 's/ /:/g; s/::*/:/g')
|
||||
|
||||
all:
|
||||
install:
|
||||
run:
|
||||
rm -f $(CORE)
|
||||
./$(EXE) $(EXE_ARGS)
|
||||
strace: $(EXE) $(EXE_BIN)
|
||||
strace -f ./$(EXE) $(EXE_ARGS)
|
||||
kdbg gdb ddd:
|
||||
$@ $(EXE) $(firstword $(CORE))
|
||||
debug: gdb
|
||||
|
||||
clean: localclean
|
||||
Loading…
Add table
Add a link
Reference in a new issue