From 7cfd077c500d3d057402d05396328fcec81f8a58 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 17 Aug 2016 12:50:20 -0400 Subject: [PATCH] a little more work on our autotools-free Makefile --- ctdlsh/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.30.2