From 41ca10496fd7b295acd23f8462c388dd03999344 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 30 Jul 2018 15:14:49 -0400 Subject: Move graphical programs out of bin I wonder when the last time was something needed -ledit... --- bin/Makefile | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'bin/Makefile') diff --git a/bin/Makefile b/bin/Makefile index 9f913e47..ae667eef 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -1,13 +1,10 @@ -ANY_BINS = atch brot dtch gfxx glitch hnel modem pbcopy pbd pbpaste pngo scheme wake xx +ANY_BINS = atch dtch glitch hnel modem pbcopy pbd pbpaste pngo scheme wake xx BSD_BINS = klon watch LIN_BINS = bri fbatt fbclock ALL_BINS = $(ANY_BINS) $(BSD_BINS) $(LIN_BINS) -GFX ?= none CFLAGS += -Wall -Wextra -Wpedantic -LDLIBS = -lcurses -ledit -lm -lutil -lz -LDLIBS_cocoa = -framework Cocoa -LDLIBS_x11 = -lX11 +LDLIBS = -lcurses -lm -lutil -lz any: .gitignore tags $(ANY_BINS) @@ -16,7 +13,7 @@ bsd: any $(BSD_BINS) linux: any $(LIN_BINS) .gitignore: Makefile - echo '*.o' tags $(ALL_BINS) scheme.png | tr ' ' '\n' > .gitignore + echo tags $(ALL_BINS) scheme.png | tr ' ' '\n' > .gitignore tags: *.c ctags -w *.c @@ -24,12 +21,6 @@ tags: *.c atch: dtch ln -f dtch atch -brot: brot.o gfx/$(GFX).o - $(CC) $(LDFLAGS) brot.o gfx/$(GFX).o $(LDLIBS) $(LDLIBS_$(GFX)) -o $@ - -gfxx: gfxx.o gfx/$(GFX).o - $(CC) $(LDFLAGS) gfxx.o gfx/$(GFX).o $(LDLIBS) $(LDLIBS_$(GFX)) -o $@ - pbcopy pbpaste: pbd ln -f pbd $@ @@ -41,7 +32,7 @@ setuid: bri chmod u+s bri clean: - rm -f tags *.o gfx/*.o $(ALL_BINS) + rm -f tags $(ALL_BINS) link: mkdir -p ~/.local/bin -- cgit 1.4.1