diff options
author | Brian <[email protected]> | 2007-12-12 08:05:12 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-12-14 14:35:18 -0700 |
commit | a5eb9e7b1bf915a3bf911074c2872724c5b3ad53 (patch) | |
tree | 18922a79f0ce32a104b923c811db8e390749960b /progs/demos/Makefile | |
parent | 6f7d35318df592ec42a37ad0d42890118c02a6b8 (diff) |
Build rain demo (Gonzo <[email protected]>)
Diffstat (limited to 'progs/demos/Makefile')
-rw-r--r-- | progs/demos/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/progs/demos/Makefile b/progs/demos/Makefile index 57e56f52a33..dcddee17d45 100644 --- a/progs/demos/Makefile +++ b/progs/demos/Makefile @@ -45,6 +45,7 @@ PROGS = \ multiarb \ paltex \ pointblast \ + rain \ ray \ readpix \ reflect \ @@ -73,7 +74,7 @@ PROGS = \ .SUFFIXES: .SUFFIXES: .c - +.SUFFIXES: .cxx # make executable from .c file: .c: $(LIB_DEP) readtex.o @@ -154,6 +155,14 @@ fslight: fslight.o fslight.o: fslight.c extfuncs.h $(CC) -c -I$(INCDIR) $(CFLAGS) fslight.c +rain: particles.o rain.o readtex.o + $(CXX) $(LDFLAGS) $^ $(LIBS) -o $@ + +rain.o: rain.cxx readtex.h + $(CXX) -c -I../ $(CXXFLAGS) $< + +particles.o: particles.cxx + $(CXX) -c -I../ $(CXXFLAGS) $< viewdds: viewdds.c |