summaryrefslogtreecommitdiff
path: root/src/Makefile
blob: 5f7ab8d698e3a747278db55498b4db7ca8220841 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
CC=gcc
CPP=c++
CFLAGS=-g -I/usr/X11R6/include
LDFLAGS=-g

OBJECTS=panorama.o

%.o: %.c
	$(CC) -c $(CFLAGS) $*.c

%.o: %.cxx
	$(CPP) -c $(CFLAGS) $*.c

panorama: $(OBJECTS)
	$(CC) -o panorama $(OBJECTS) -lm

flmountains: $(flmountains.o)
	$(CPP) -o flmountains flmountains.o -L/usr/X11R6/lib -lm -lfltk -lfltk_images

clean:
	rm -f panorama $(OBJECTS)