-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.mac
39 lines (26 loc) · 935 Bytes
/
Makefile.mac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
# Makefile for fltk applications
#
LOCAL = /usr/local
FLTK = /opt/local
CC = c++
INCLUDE = -I$(LOCAL)/include -I$(FLTK)/include
LIBDIR = -L$(FLTK)/lib -L$(LOCAL)/lib -L$(FLTK)/X11/lib
LDLIBS = -L/usr/local/lib/ -framework Carbon -framework ApplicationServices -lsupc++
GLDLIBS = -framework AGL -framework OpenGL
LIBS = $(LDLIBS) $(GLDLIBS) -lfltk_gl -lfltk -lfltk_images -lfltk_forms -lfltk_jpeg -lpng -lm
CFLAGS = -g
.SUFFIXES: .o .cpp .cxx
.cpp.o:
$(CC) $(CFLAGS) $(INCLUDE) -c -o $*.o $<
ALL.O = bitmap.o camera.o color.o curve.o curveevaluator.o \
graphwidget.o indicatorwindow.o linearcurveevaluator.o \
modelerapp.o modelerdraw.o modelerui.o animatoruiwindows.o \
modelerview.o particleSystem.o point.o \
rect.o robotarm.o rulerwindow.o
animator: $(ALL.O)
$(CC) $(CFLAGS) -o $@ $(ALL.O) $(INCLUDE) $(LIBDIR) $(LIBS)
clean:
rm -f $(ALL.O)
clean_all:
rm -f $(ALL.O) animator