Make MODULE= PHONY, if we specify a module on the commandline, we

usually want it rebuilt anyway.
This commit is contained in:
Stefan `Sec` Zehl 2011-06-15 23:40:46 +02:00
parent 37b8a8b8ed
commit e06a8d43e3
1 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,8 @@
OBJS = default.o
OBJS += $(foreach mod,$(MODULE),$(mod).o)
SRCS = $(foreach mod,$(MODULE),$(mod).c)
ifndef MODULE
ME_OBJ=$(USERNAME)
@ -59,6 +61,6 @@ clean:
$(WRAPSRC):
./mkwrapper $(OBJS) > $@
.PHONY: $(LIBFILE) $(WRAPSRC)
.PHONY: $(LIBFILE) $(WRAPSRC) $(SRCS)
.SUFFIXES: