Marek Vasut | 1f747c1 | 2012-10-06 14:04:58 +0000 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2012 Marek Vasut <marex@denx.de> |
| 3 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | # SPDX-License-Identifier: GPL-2.0+ |
Marek Vasut | 1f747c1 | 2012-10-06 14:04:58 +0000 | [diff] [blame] | 5 | # |
| 6 | |
| 7 | include $(TOPDIR)/config.mk |
| 8 | |
| 9 | all: $(obj)docproc |
| 10 | |
| 11 | $(obj)docproc: docproc.c |
| 12 | $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $^ |
| 13 | $(HOSTSTRIP) $@ |
| 14 | |
| 15 | clean: |
| 16 | rm -rf docproc |
| 17 | |
| 18 | ######################################################################### |
| 19 | |
| 20 | # defines $(obj).depend target |
| 21 | include $(SRCTREE)/rules.mk |
| 22 | |
| 23 | sinclude $(obj).depend |
| 24 | |
| 25 | ######################################################################### |