File: Makefile

package info (click to toggle)
faudio 21.02-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,576 kB
  • sloc: ansic: 25,642; cpp: 10,815; cs: 1,899; sh: 82; makefile: 21
file content (13 lines) | stat: -rw-r--r-- 294 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Build win32 executable to verify unit tests pass when run
# against XAudio2 on Windows.

WINEROOT = /usr/include/wine

CROSSCC = x86_64-w64-mingw32-gcc

CFLAGS += -g -Wall

all: faudio_tests.exe

faudio_tests.exe: xaudio2.c
	$(CROSSCC) $(CFLAGS) -Wall -I$(WINEROOT)/windows/ -o $@ $< -lole32