mirror of
https://github.com/MiSTer-devel/MidiLink_MiSTer.git
synced 2026-04-19 03:04:35 +00:00
16 lines
551 B
Makefile
16 lines
551 B
Makefile
CC=arm-linux-gnueabihf-gcc
|
|
STRIP=arm-linux-gnueabihf-strip
|
|
CCFLAGS=-Ialsa/include -Lalsa/lib -Ofast -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard -ftree-vectorize -funsafe-math-optimizations
|
|
LDFLAGS=-lasound -lm -pthread
|
|
all :
|
|
$(CC) $(CCFLAGS) $(LDFLAGS) main.c modem.c serial.c serial2.c misc.c udpsock.c tcpsock.c alsa.c ini.c directory.c modem_snd.c -o midilink
|
|
$(STRIP) midilink
|
|
$(CC) $(CCFLAGS) mlinkutil.c misc.c serial2.c tcpsock.c -o mlinkutil
|
|
$(STRIP) mlinkutil
|
|
clean:
|
|
rm -f midilink mlinkutil *~ *.orig DEADJOE
|
|
|
|
|
|
|
|
|