Make MODULE= PHONY, if we specify a module on the commandline, we
usually want it rebuilt anyway.
This commit is contained in:
parent
37b8a8b8ed
commit
e06a8d43e3
|
@ -5,6 +5,8 @@
|
||||||
OBJS = default.o
|
OBJS = default.o
|
||||||
OBJS += $(foreach mod,$(MODULE),$(mod).o)
|
OBJS += $(foreach mod,$(MODULE),$(mod).o)
|
||||||
|
|
||||||
|
SRCS = $(foreach mod,$(MODULE),$(mod).c)
|
||||||
|
|
||||||
ifndef MODULE
|
ifndef MODULE
|
||||||
ME_OBJ=$(USERNAME)
|
ME_OBJ=$(USERNAME)
|
||||||
|
|
||||||
|
@ -59,6 +61,6 @@ clean:
|
||||||
$(WRAPSRC):
|
$(WRAPSRC):
|
||||||
./mkwrapper $(OBJS) > $@
|
./mkwrapper $(OBJS) > $@
|
||||||
|
|
||||||
.PHONY: $(LIBFILE) $(WRAPSRC)
|
.PHONY: $(LIBFILE) $(WRAPSRC) $(SRCS)
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
|
|
Loading…
Reference in New Issue