blob: 4e0261353fc112fee50080cf52239cb1e5471770 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
CC=gcc
CPP=c++
CFLAGS=-g -I/usr/X11R6/include
CXXFLAGS=-g -I/usr/X11R6/include
LDFLAGS=-g
OBJECTS=flmountains.o GipfelWidget.o
#%.o: %.c
# $(CC) -c $(CFLAGS) $*.c
%.o: %.cxx
$(CPP) -c $(CFLAGS) $*.cxx
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 gipfel $(OBJECTS)
|