summaryrefslogtreecommitdiff
path: root/Makefile
blob: 3c88a9daef9fe17e2237be97f9fc0e87822243bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CFLAGS = -Wall -Wpedantic

all: wavextract

wavextract: wavextract.c

wavextract.exe: export CC = x86_64-w64-mingw32-gcc
wavextract.exe: wavextract.c
	$(CC) $(CFLAGS) $(LDFLAGS) $< $(OBJS) $(LDLIBS) -o $@

clean:
	$(RM) *.o
	$(RM) wavextract
	$(RM) wavextract.exe