stl/Makefile
josh ffe4f07ace stl: added the beginning of a viewer
git-svn-id: svn://anubis/misc/stl@5 bd8a9e45-a331-0410-811e-c64571078777
2007-06-03 02:38:40 +00:00

15 lines
259 B
Makefile

CFLAGS = -O2 `sdl-config --cflags`
LDFLAGS = `sdl-config --libs` -lGL -lGLU
all: stl-viewer
stl-viewer: stl-viewer.o stl.o
gcc -o $@ $^ $(LDFLAGS)
stl-viewer.o: stl-viewer.c stl.h
gcc -c -o $@ $< $(CFLAGS)
stl.o: stl.c stl.h
gcc -c -o $@ $< $(CFLAGS)