mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
defs.mk, rules.mk: Add remake target
This commit is contained in:
parent
efeb7e28aa
commit
3d131cd0b3
2 changed files with 4 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ RCCFILES = $(wildcard *.qrc)
|
|||
CALLSRC = $(CFILES) $(CPPFILES)
|
||||
OBJ = $(patsubst %.cpp,%.o,$(patsubst %.cc,%.o,$(patsubst %.c,%.o,$(CALLSRC))))
|
||||
OBJ += $(patsubst %.S,%.o,$(SFILES))
|
||||
SHOBJS = $(patsubst %.cpp,lib%.so,$(patsubst %.cc,lib%.so,$(patsubst %.c,lib%.so,$(CALLSRC))))
|
||||
SHOBJS += $(patsubst %.cpp,lib%.so,$(patsubst %.cc,lib%.so,$(patsubst %.c,lib%.so,$(CALLSRC))))
|
||||
SHSCRIPTS = $(patsubst %.sh.tmpl,%.sh,$(wildcard *.sh.tmpl))
|
||||
SCRIPTS = $(patsubst %.tmpl,%,$(wildcard *.tmpl))
|
||||
LOCAL_HDR = $(patsubst %.h,$(TOPDIR)/include/%.h,$(wildcard *.h))
|
||||
|
|
|
|||
|
|
@ -266,3 +266,6 @@ cvsupdate:
|
|||
|
||||
prepend_header:
|
||||
for f in $(SRC_UNHEADERED); do sh $(TOPDIR)/hdr/prepend_header.sh $$f; done
|
||||
|
||||
remake:
|
||||
make $(addprefix -W ,$(SRC_FILES)) $(filter-out remake,$(MAKECMDGOALS))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue