Root/ubb-patgen/Makefile

1#
2# ubb-patgen/Makefile - Build the UBB pattern generator
3#
4# Written 2013 by Werner Almesberger
5# Copyright 2013 Werner Almesberger
6#
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2 of the License, or
10# (at your option) any later version.
11#
12
13CC = mipsel-openwrt-linux-gcc
14CFLAGS = -g -Wall -O9 -fno-tree-cselim -I../libubb/include
15LDFLAGS =
16LDLIBS = -L../libubb -lubb -lm -lrt -lpthread -ldl
17
18MAIN = ubb-patgen
19OBJS = ubb-patgen.o
20
21.PHONY: all static clean spotless
22
23all: $(MAIN)
24
25static:
26        $(MAKE) LDFLAGS=-static
27
28$(MAIN): $(OBJS)
29
30clean:
31        rm -f $(OBJS)
32
33spotless: clean
34        rm -f $(MAIN)
35

Archive Download this file

Branches:
master



interactive