diff options
author | Johannes Hofmann <johannes.hofmann@gmx.de> | 2005-05-08 18:49:46 +0000 |
---|---|---|
committer | Johannes Hofmann <johannes.hofmann@gmx.de> | 2005-05-08 18:49:46 +0000 |
commit | 685bae302ab0b590b57be2375168a9e06fe9fed7 (patch) | |
tree | 5545d628ec02c25670f9ab17a08e6760ae9e2e8a /src | |
parent | 7968b87758428821c38936cf10affb356d3ad940 (diff) |
autoconf/automake
autoconf/automake
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 |