diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 22 | ||||
-rw-r--r-- | src/Makefile.am | 12 |
2 files changed, 12 insertions, 22 deletions
diff --git a/src/Makefile b/src/Makefile deleted file mode 100644 index dcb71d6..0000000 --- a/src/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -CC=gcc -CPP=c++ -CFLAGS=-g -I/usr/X11R6/include -CXXFLAGS=-g -I/usr/X11R6/include -I/usr/local/include -fno-stack-protector -LDFLAGS=-g -fno-stack-protector - -OBJECTS=gipfel.o GipfelWidget.o Hill.o Panorama.o - -#%.o: %.c -# $(CC) -c $(CFLAGS) $*.c - -%.o: %.cxx - $(CPP) -c $(CXXFLAGS) $*.cxx - -gipfel: $(OBJECTS) - $(CC) -fno-stack-protector -o gipfel $(OBJECTS) -L/usr/X11R6/lib -L/usr/local/lib -lm -lccm -lfltk -lfltk_images - -flmountains: $(flmountains.o) - $(CPP) -o flmountains flmountains.o -L/usr/X11R6/lib -lm -lfltk -lfltk_images - -clean: - rm -f gipfel $(OBJECTS) diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..32f6fc7 --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,12 @@ +bin_PROGRAMS = gipfel + +gipfel_SOURCES = \ + gipfel.cxx \ + GipfelWidget.cxx \ + Panorama.cxx \ + Hill.cxx + +noinst_HEADERS = \ + GipfelWidget.H \ + Panorama.H \ + Hill.H |