1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-12-04 11:25:56 +02:00
ben-blinkenlights/ubb-la/Makefile
Werner Almesberger 09de2454ef ubb-la/Makefile (CFLAGS): use more specific -O9 -fno-tree-cselim
Third time lucky, I hope. -fno-tree-cselim is much more specific than
disabling all optimization and results in a considerably less severe
performance reduction (about 30-40% of -O0).
2013-01-25 19:49:20 -03:00

35 lines
706 B
Makefile

#
# ubb-la/Makefile - Build the UBB logic analyzer
#
# Written 2013 by Werner Almesberger
# Copyright 2013 Werner Almesberger
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
CC = mipsel-openwrt-linux-gcc
CFLAGS = -g -Wall -O9 -fno-tree-cselim -I../libubb/include
LDFLAGS =
LDLIBS = -L../libubb -lubb -lm -lrt
MAIN = ubb-la
OBJS = ubb-la.o
.PHONY: all static clean spotless
all: $(MAIN)
static:
$(MAKE) LDFLAGS=-static
$(MAIN): $(OBJS)
clean:
rm -f $(OBJS)
spotless: clean
rm -f $(MAIN)