a little more work on our autotools-free Makefile
authorArt Cancro <ajc@citadel.org>
Wed, 17 Aug 2016 16:50:20 +0000 (12:50 -0400)
committerArt Cancro <ajc@citadel.org>
Wed, 17 Aug 2016 16:50:20 +0000 (12:50 -0400)
ctdlsh/Makefile

index 5fddc98986c23ab4c93ef082d441bd561c098851..a7d0deb68567a029aff5d121f6dfc3f676f90b40 100644 (file)
@@ -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