diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Makefile b/lib/Makefile index 5f24139d..76c41fc3 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -7,8 +7,8 @@ ### DEFINITIONS -include ../Makefile.settings -ifdef SRCDIR -SRCDIR := $(SRCDIR)lib/ +ifdef _SRCDIR_ +_SRCDIR_ := $(_SRCDIR_)lib/ endif # [SH] Program variables @@ -39,7 +39,7 @@ lib.o: $(objects) $(subdirs) $(objects): ../Makefile.settings Makefile -$(objects): %.o: $(SRCDIR)%.c +$(objects): %.o: $(_SRCDIR_)%.c @echo '*' Compiling $< @$(CC) -c $(CFLAGS) $< -o $@ |