diff options
| -rw-r--r-- | Makefile | 5 | ||||
| -rw-r--r-- | hmm.c | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,6 @@ -LDLIBS=-lSDL2 +CFLAGS = $(shell sdl2-config --cflags) +CXXFLAGS = $(shell sdl2-config --cppflags) +LDFLAGS = $(shell sdl2-config --ldflags) +LDLIBS = $(shell sdl2-config --libs) default: hmm @@ -1,4 +1,4 @@ -#include <SDL2/SDL.h> +#include <SDL.h> #define debug(...) fprintf(stderr, __VA_ARGS__) |
