summary refs log tree commit diff
path: root/gfx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/Makefile')
-rw-r--r--gfx/Makefile45
1 files changed, 0 insertions, 45 deletions
diff --git a/gfx/Makefile b/gfx/Makefile
deleted file mode 100644
index 20ff5ecd..00000000
--- a/gfx/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-GFX ?= cocoa
-PREFIX = ~/.local
-
-BINS = brot gfxx
-MAN1 = $(BINS:%=man/%.1)
-
-CFLAGS += -Wall -Wextra -Wpedantic
-LDLIBS = -lm
-LDLIBS_cocoa = -framework Cocoa
-LDLIBS_x11 = -lX11
-
-all: .gitignore tags $(BINS)
-
-tags: *.h *.c
-	ctags -w *.h *.c
-
-brot.o gfxx.o: gfx.h
-
-cocoa.o fb.o x11.o: gfx.h
-
-gfxx.o: png.h
-
-brot: brot.o $(GFX).o
-	$(CC) $(LDFLAGS) brot.o $(GFX).o $(LDLIBS) $(LDLIBS_$(GFX)) -o $@
-
-gfxx: gfxx.o $(GFX).o
-	$(CC) $(LDFLAGS) gfxx.o $(GFX).o $(LDLIBS) $(LDLIBS_$(GFX)) -o $@
-
-clean:
-	rm -f tags *.o $(BINS)
-
-README: man/gfx.7
-	mandoc man/gfx.7 | col -b -x > README
-
-.gitignore: Makefile
-	echo '*.o' tags $(BINS) | tr ' ' '\n' > .gitignore
-
-link:
-	mkdir -p $(PREFIX)/bin $(PREFIX)/share/man/man1
-	ln -s -f $(BINS:%=$(PWD)/%) $(PREFIX)/bin
-	ln -s -f $(MAN1:%=$(PWD)/%) $(PREFIX)/share/man/man1
-
-unlink:
-	rm -f $(BINS:%=$(PREFIX)/bin/%)
-	rm -f $(MAN1:%=$(PREFIX)/share/man/man1/%)
b6163144&follow=1'>Use PascalCase for constants in gfxJune McEnroe 2018-09-02Use PascalCase for constantsJune McEnroe Get outta here, underscores. 2018-09-02Remove colorcolumn at 100June McEnroe 2018-09-02Install bc(1) on ArchJune McEnroe 2018-09-02SendEnv LANGJune McEnroe 2018-08-27Add New Order — TemptationJune McEnroe 2018-08-26Add NetBSD to install.shJune McEnroe 2018-08-24Show hostname in title over SSHJune McEnroe 2018-08-23Alias bc='bc -l'June McEnroe 2018-08-20Update usage of scheme in READMEJune McEnroe 2018-08-20Use scheme.h in fbatt and fbclockJune McEnroe 2018-08-20Generate scheme.hJune McEnroe 2018-08-20Add dependencies on gfx.hJune McEnroe 2018-08-18Add Blondie — Heart of GlassJune McEnroe Why didn't I know about this song? I love it. 2018-08-18Set FCEDIT=$EDITORJune McEnroe 2018-08-18Only post commits with bodies to MastodonJune McEnroe 2018-08-18Run tf/cfg link script with /bin/shJune McEnroe 2018-08-18Run {,s,t}up with /bin/shJune McEnroe 2018-08-18Use whence instead of typeJune McEnroe type is an alias for whence -v and is more for human consumption. 2018-08-18Cut off path components until right prompt fitsJune McEnroe Keeps paths valid (from somehwere) rather than abrupt truncation. 2018-08-17Add "private" alias to source encrypted fileJune McEnroe Why is there no easy way to *edit* an encrypted file? 2018-08-17Add vim mapping to add a #includeJune McEnroe