1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2025-04-21 12:27:27 +03:00

tools/ant-txt/: new utility to compose texts for Antorcha

This commit is contained in:
Werner Almesberger
2012-06-30 14:58:25 -03:00
parent 60e9a1e919
commit fbe0767eb4
2 changed files with 102 additions and 0 deletions

37
tools/ant-txt/Makefile Normal file
View File

@@ -0,0 +1,37 @@
#
# tools/ant-txt/Makefile - Build the Antorcha text composer
#
# Written 2012 by Werner Almesberger
# Copyright 2012 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.
#
MAIN = ant-txt
CFLAGS = -g -Wall -I.. \
$(if $(BEN), -static)
LDLIBS = -L../libtxt -ltxt
OBJS = ant-txt.o
.PHONY: all ben clean spotless
all: $(MAIN)
ben:
$(MAKE) BEN=y CC=mipsel-openwrt-linux-gcc
$(MAIN): $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDLIBS)
clean:
rm -f $(OBJS)
spotless: clean
rm -f $(MAIN)