diff options
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 17 |
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) |