summaryrefslogtreecommitdiff
path: root/progs/demos
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos')
-rw-r--r--progs/demos/.gitignore1
-rw-r--r--progs/demos/Makefile4
2 files changed, 3 insertions, 2 deletions
diff --git a/progs/demos/.gitignore b/progs/demos/.gitignore
index ad20499f1e..ab836eb834 100644
--- a/progs/demos/.gitignore
+++ b/progs/demos/.gitignore
@@ -32,6 +32,7 @@ osdemo
paltex
pixeltex
pointblast
+rain
ray
readpix
readtex.c
diff --git a/progs/demos/Makefile b/progs/demos/Makefile
index dcddee17d4..456bd4a2c7 100644
--- a/progs/demos/Makefile
+++ b/progs/demos/Makefile
@@ -159,10 +159,10 @@ rain: particles.o rain.o readtex.o
$(CXX) $(LDFLAGS) $^ $(LIBS) -o $@
rain.o: rain.cxx readtex.h
- $(CXX) -c -I../ $(CXXFLAGS) $<
+ $(CXX) -c -I$(INCDIR) $(CXXFLAGS) $<
particles.o: particles.cxx
- $(CXX) -c -I../ $(CXXFLAGS) $<
+ $(CXX) -c -I$(INCDIR) $(CXXFLAGS) $<
viewdds: viewdds.c