From: Art Cancro Date: Wed, 17 Aug 2016 16:50:20 +0000 (-0400) Subject: a little more work on our autotools-free Makefile X-Git-Tag: v939~658 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=7cfd077c500d3d057402d05396328fcec81f8a58 a little more work on our autotools-free Makefile --- diff --git a/ctdlsh/Makefile b/ctdlsh/Makefile index 5fddc9898..a7d0deb68 100644 --- a/ctdlsh/Makefile +++ b/ctdlsh/Makefile @@ -1,10 +1,11 @@ OBJS := datetime.o export.o main.o passwd.o shutdown.o sockets.o who.o config.o CFLAGS := -ggdb +LDFLAGS := # link ctdlsh: $(OBJS) - gcc $(OBJS) -lreadline -o ctdlsh + gcc $(OBJS) $(LDFLAGS) -lreadline -o ctdlsh # pull in dependency info for *existing* .o files -include $(OBJS:.o=.d) @@ -17,3 +18,8 @@ ctdlsh: $(OBJS) # remove compilation products clean: rm -f ctdlsh *.o *.d + +distclean: clean + +install: ctdlsh + echo Not yet