stl: added the beginning of a viewer

git-svn-id: svn://anubis/misc/stl@5 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
josh committed 2007-06-03 02:38:40 +00:00
1 parent 3a310e181e
commit ffe4f07ace
5 files changed
+164 -6

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
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)