-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
23 lines (16 loc) · 822 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Initial makefile for use of autotools.
CC=g++
# FLAGS=`pkg-config --cflags gtk+-2.0 gdk-2.0 libgnome-2.0 libgnomeui-2.0 gdk-pixbuf-xlib-2.0`
FLAGS=`pkg-config --cflags gtk+-3.0 gdk-3.0`
HEAD=
# LIBS=`pkg-config --libs gtk+-2.0 gdk-2.0 libgnome-2.0 libgnomeui-2.0 gdk-pixbuf-xlib-2.0`
LIBS=`pkg-config --libs gtk+-3.0 gdk-3.0 gdk-pixbuf-xlib-2.0`
bin_PROGRAMS=rbfilter
rbfilter_SOURCES=./rbfilter.cpp ./Calcs.cpp ./Rauch.cpp ./Sallen_and_Key.cpp ./Discrete.cpp Calcs.h Drawing.h filter.h preferred.h Discrete.h Enums.h gnome.h rbfilter.h
rbfilter: rbfilter.o ./Calcs.o ./Rauch.o ./Sallen_and_Key.o ./Discrete.o $(HEAD)
$(CC) -g $(FLAGS) -o rbfilter rbfilter.o ./Calcs.o ./Rauch.o ./Sallen_and_Key.o ./Discrete.o $(LIBS)
%.o: %.cpp $(HEAD)
$(CC) -g -c $(FLAGS) -o $@ $< $(LIBS)
clean:
rm -f *.o
rm -f rbfilter