summary refs log tree commit diff
path: root/Makefile
blob: 8751958efd18e72d4cb5457d52f94e323e92362f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
CFLAGS += -std=c99 -Wall -Wextra -Wpedantic

SDL_PREFIX = /usr/local
CFLAGS += -I$(SDL_PREFIX)/include/SDL2
LDFLAGS += -L$(SDL_PREFIX)/lib
LDLIBS = -lSDL2

-include config.mk

BINS = dump sol
OBJS = cards.o dump.o sol.o

all: $(BINS)

sol: cards.o sol.o
	$(CC) $(LDFLAGS) cards.o sol.o $(LDLIBS) -o sol

$(OBJS): cards.h

sol.o: stack.h

clean:
	rm -f $(BINS) $(OBJS)
logsubject'>Hide line numbers when rendering mdocJune McEnroe Hack: output an extra <td> after rendering mdoc so that line numbers can be hidden based on there being three. This required splitting source-filter and about-filter since on about pages there is no table. 2019-12-18Customize cgit CSSJune McEnroe 2019-12-18Use :target rather than :focus pseudo-classJune McEnroe :target persists after you click on something else. 2019-12-18Copy cgit auxiliary binaries properlyJune McEnroe 2019-12-18Add git.causal.agency cgit configJune McEnroe 2019-12-18Bail from hi if input is binaryJune McEnroe NULs in the input cause an infinite loop in htmlEscape, not to mention regexes obviously not working, etc. 2019-12-16Post "cgit setup"June McEnroe