summary refs log tree commit diff
path: root/bin/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-07-30 15:14:49 -0400
committerJune McEnroe <june@causal.agency>2018-07-30 15:14:49 -0400
commit41ca10496fd7b295acd23f8462c388dd03999344 (patch)
tree0740757391b2000469f9c3d3f45543aa92061f0b /bin/Makefile
parentAdd Neckbeard Deathcamp (diff)
downloadsrc-41ca10496fd7b295acd23f8462c388dd03999344.tar.gz
src-41ca10496fd7b295acd23f8462c388dd03999344.zip
Move graphical programs out of bin
I wonder when the last time was something needed -ledit...
Diffstat (limited to 'bin/Makefile')
-rw-r--r--bin/Makefile17
1 files changed, 4 insertions, 13 deletions
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