summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-03-14 18:38:47 -0400
committerJune McEnroe <june@causal.agency>2019-03-14 18:38:47 -0400
commite27b5ee6468bcd87164baeabe290282ec85e0c4a (patch)
treed1770be29e2a79d974c5c7b7d06bce29c5b34f68 /Makefile
parentAdd cards.h, cards.c, dump.c (diff)
downloadwep-e27b5ee6468bcd87164baeabe290282ec85e0c4a.tar.gz
wep-e27b5ee6468bcd87164baeabe290282ec85e0c4a.zip
Rewrite using SDL
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b58b5e5..2ba46a6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,17 @@
-CFLAGS += -Wall -Wextra
+CFLAGS += -std=c99 -Wall -Wextra
+
+SDL_PREFIX = /usr/local
+CFLAGS += -I$(SDL_PREFIX)/include/SDL2
+LDFLAGS += -L$(SDL_PREFIX)/lib
+LDLIBS = -lSDL2
 
 -include config.mk
 
 BINS = dump
 OBJS = cards.o dump.o
 
+all: $(BINS)
+
 dump: cards.o dump.o
 	$(CC) $(LDFLAGS) cards.o dump.o $(LDLIBS) -o dump
 
/www/causal.agency/index.html.in?id=9f385ebade4b286684c8a883acd91ef9eb3b5180&follow=1'>Add imbox and notemap to pageJune McEnroe 2020-02-12Collapse simple linksJune McEnroe 2020-02-12Move catgirl up the pageJune McEnroe 2020-02-12Update catgirl pty grabJune McEnroe 2020-02-12Link to cgit /about pages where appropriateJune McEnroe 2020-02-11Separate LINKS from BINS for html to workJune McEnroe 2020-02-11Add margin to Bl-bullet itemsJune McEnroe 2020-02-10Match URLs inside parens or with paired parens insideJune McEnroe 2020-02-10Duplicate effective URL before passing it back to curlJune McEnroe Apparently sometimes it didn't like receiving its own internal storage to parse again. Understandable. 2020-02-09Add To Be Taught, If FortunateJune McEnroe 2020-02-04Add The Future of Another TimelineJune McEnroe Wow. One of the best I've read. 2020-01-31Reorganize the Makefile for the umpteenth timeJune McEnroe Broke out LDLIBS for each bin, and made everything more uniform. 2020-01-28Change scout sensitivity to 1.4June McEnroe idk it seems to work. 2020-01-28Import shows.txtJune McEnroe