fx2/linux/apps/Makefile

18 lines
357 B
Makefile
Raw Normal View History

2013-10-02 10:43:54 +02:00
CC = gcc
LD = gcc
CFLAGS = -Wall -Werror -c -I../libstrm -O2
LDFLAGS = -L../libstrm
LDFLAGS_POST = -lstrm -lusb
BIN_STRM_DDR2 = strm_ddr2
SRC_STRM_DDR2 = strm_ddr2.c
OBJ_STRM_DDR2 = $(SRC_STRM_DDR2:%.c=%.o)
all: ${BIN_STRM_DDR2}
${BIN_STRM_DDR2}: ${OBJ_STRM_DDR2}
${LD} ${LDFLAGS} $^ -o $@ ${LDFLAGS_POST}
clean:
rm -f *.o ${BIN_STRM_DDR2}