Skip to content

Instantly share code, notes, and snippets.

@nhanb
Created November 19, 2013 15:02
Show Gist options
  • Save nhanb/7546655 to your computer and use it in GitHub Desktop.
Save nhanb/7546655 to your computer and use it in GitHub Desktop.
quick-and-dirty makefile (I mean it)
CC = g++
FLAGS = -Iinclude -L. -ltcod -ltcodxx -Wl,-rpath=. -Wall -g
OBJS = src/*.cpp
all: $(OBJS)
$(CC) $(OBJS) -o locknchase $(FLAGS)
clean:
rm -f locknchase
run: all
./locknchase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment