Skip to content

Instantly share code, notes, and snippets.

@FernandoBasso
Last active August 29, 2015 14:01
Show Gist options
  • Save FernandoBasso/47d58f3bbcccb1f46c77 to your computer and use it in GitHub Desktop.
Save FernandoBasso/47d58f3bbcccb1f46c77 to your computer and use it in GitHub Desktop.
orig=tmp.c
dest=./bin/tmp.bin
SDL_FLAGS := $(shell sdl-config --cflags)
SDL_LDFLAGS := $(shell sdl-config --libs);
build:
gcc $(orig) -o $(dest) -std=c99 -Wall -pedantic $(SDL_FLAGS) $(SDL_LDFLAGS)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment