summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorJohannes Hofmann <johannes.hofmann@gmx.de>2005-04-13 13:36:36 +0000
committerJohannes Hofmann <johannes.hofmann@gmx.de>2005-04-13 13:36:36 +0000
commit42f03528da65b939579b25cbb8618d190b96dd9c (patch)
tree8117aeba64b756b3d7fafb5da9f78af1fb85046c /src/Makefile
parent1250637f0e5bf0585811b16c51e9081f1d7f1aa9 (diff)
Empty log message
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/Makefile b/src/Makefile
index 5f7ab8d..4e02613 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,21 +1,22 @@
CC=gcc
CPP=c++
CFLAGS=-g -I/usr/X11R6/include
-LDFLAGS=-g
+CXXFLAGS=-g -I/usr/X11R6/include
+LDFLAGS=-g
-OBJECTS=panorama.o
+OBJECTS=flmountains.o GipfelWidget.o
-%.o: %.c
- $(CC) -c $(CFLAGS) $*.c
+#%.o: %.c
+# $(CC) -c $(CFLAGS) $*.c
%.o: %.cxx
- $(CPP) -c $(CFLAGS) $*.c
+ $(CPP) -c $(CFLAGS) $*.cxx
-panorama: $(OBJECTS)
- $(CC) -o panorama $(OBJECTS) -lm
+gipfel: $(OBJECTS)
+ $(CC) -o gipfel $(OBJECTS) -L/usr/X11R6/lib -lm -lfltk -lfltk_images
flmountains: $(flmountains.o)
$(CPP) -o flmountains flmountains.o -L/usr/X11R6/lib -lm -lfltk -lfltk_images
clean:
- rm -f panorama $(OBJECTS)
+ rm -f gipfel $(OBJECTS)