diff options
Diffstat (limited to 'lib/Makefile')
| -rw-r--r-- | lib/Makefile | 8 | 
1 files changed, 5 insertions, 3 deletions
| diff --git a/lib/Makefile b/lib/Makefile index 441634cd..bebe3ba6 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -7,11 +7,13 @@  ### DEFINITIONS  -include ../Makefile.settings +ifdef SRCDIR +SRCDIR := $(SRCDIR)lib/ +endif  # [SH] Program variables -objects = arc.o base64.o $(EVENT_HANDLER) http_client.o ini.o md5.o misc.o oauth.o proxy.o sha1.o $(SSL_CLIENT) url.o xmltree.o +objects = arc.o base64.o $(EVENT_HANDLER) ftutil.o http_client.o ini.o md5.o misc.o oauth.o proxy.o sha1.o $(SSL_CLIENT) url.o xmltree.o -CFLAGS += -Wall  LFLAGS += -r  # [SH] Phony targets @@ -36,6 +38,6 @@ lib.o: $(objects) $(subdirs)  $(objects): ../Makefile.settings Makefile -$(objects): %.o: %.c +$(objects): %.o: $(SRCDIR)%.c  	@echo '*' Compiling $<  	@$(CC) -c $(CFLAGS) $< -o $@ | 
