Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@nddrylliog
Created December 19, 2012 23:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nddrylliog/4341527 to your computer and use it in GitHub Desktop.
Save nddrylliog/4341527 to your computer and use it in GitHub Desktop.
Makefiles for Legithief, for comparison and contrasting.
OOCFLAGS?=-v -g
all:
rock $(OOCFLAGS)
editor:
rock $(OOCFLAGS) --sourcepath=source editor
clean:
rock -x
.PHONY: all clean editor
OOCFLAGS?=-v -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/opt/freetype/include/ -L/usr/local/opt/freetype/lib/
all:
rock $(OOCFLAGS)
editor:
rock $(OOCFLAGS) --sourcepath=source editor
clean:
rock -x
.PHONY: all editor clean
OOCFLAGS?=-v -I/g/Dev/sdl_mixer/include -L/g/Dev/sdl_mixer/lib/x86 -I/usr/local/include -L/usr/local/lib -I/usr/local/opt/freetype/include -I/usr/local/opt/freetype/include/freetype2 -L/usr/local/opt/freetype/lib -lopengl32 -lglu32
all:
rock $(OOCFLAGS)
editor:
rock $(OOCFLAGS) --sourcepath=source editor
clean:
rm -rf .libs rock_tmp
.PHONY: all clean editor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment