diff options
author | June McEnroe <june@causal.agency> | 2019-03-14 18:38:47 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-03-14 18:38:47 -0400 |
commit | e27b5ee6468bcd87164baeabe290282ec85e0c4a (patch) | |
tree | d1770be29e2a79d974c5c7b7d06bce29c5b34f68 /Makefile | |
parent | Add cards.h, cards.c, dump.c (diff) | |
download | cards-e27b5ee6468bcd87164baeabe290282ec85e0c4a.tar.gz cards-e27b5ee6468bcd87164baeabe290282ec85e0c4a.zip |
Rewrite using SDL
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
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 |