-
Notifications
You must be signed in to change notification settings - Fork 25
/
Makefile.gwaon-win32
57 lines (45 loc) · 1 KB
/
Makefile.gwaon-win32
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Makefile for gWaoN
# Copyright (C) 1998-2007 Kengo Ichiki <[email protected]>
# $Id: Makefile.gwaon,v 1.7 2007/11/05 02:39:38 kichiki Exp $
LIBS =\
`pkg-config --libs gtk+-2.0` \
`pkg-config --libs gdk-pixbuf-2.0` \
`pkg-config --libs ao` \
`pkg-config --libs sndfile` \
`pkg-config --libs fftw3` \
`pkg-config --libs samplerate` \
-lm
CFLAGS =\
-Wall -O3 \
`pkg-config --cflags gtk+-2.0` \
`pkg-config --cflags gdk-pixbuf-2.0` \
`pkg-config --cflags ao` \
`pkg-config --cflags sndfile` \
`pkg-config --cflags fftw3` \
`pkg-config --cflags samplerate`
LDFLAGS =
CC = cc
LD = $(CC)
RM = rm -f
all: gwaon gwaon-debug
OBJ = gwaon.o \
gwaon-menu.o \
gwaon-about.o \
gwaon-wav.o \
gwaon-play.o \
pv-complex.o \
pv-conventional.o \
ao-wrapper.o \
gtk-color.o \
snd.o \
hc.o \
fft.o \
midi.o
gwaon: $(OBJ)
$(LD) $(LDFLAGS) -mwindows -o gwaon $(OBJ) $(LIBS)
gwaon-debug: $(OBJ)
$(LD) $(LDFLAGS) -o gwaon-debug $(OBJ) $(LIBS)
clean:
$(RM) *.o
distclean:
$(RM) gwaon *.o