summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorJohannes Hofmann <johannes.hofmann@gmx.de>2005-04-12 18:34:41 +0000
committerJohannes Hofmann <johannes.hofmann@gmx.de>2005-04-12 18:34:41 +0000
commit1250637f0e5bf0585811b16c51e9081f1d7f1aa9 (patch)
tree048227560eeffbf11e4f4eae138e16be6bcf5f80 /src/Makefile
parent9053ca6dddb1456f99a3a3abd5532a999bc7b469 (diff)
add flmountains.cxx
add flmountains.cxx
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index adcb519..5f7ab8d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,5 +1,6 @@
CC=gcc
-CFLAGS=-g
+CPP=c++
+CFLAGS=-g -I/usr/X11R6/include
LDFLAGS=-g
OBJECTS=panorama.o
@@ -7,8 +8,14 @@ OBJECTS=panorama.o
%.o: %.c
$(CC) -c $(CFLAGS) $*.c
+%.o: %.cxx
+ $(CPP) -c $(CFLAGS) $*.c
+
panorama: $(OBJECTS)
$(CC) -o panorama $(OBJECTS) -lm
+flmountains: $(flmountains.o)
+ $(CPP) -o flmountains flmountains.o -L/usr/X11R6/lib -lm -lfltk -lfltk_images
+
clean:
rm -f panorama $(OBJECTS)