Root/tools/usbwait/Makefile

Source at commit 624caeb00652f6118dc64698b7dad6fa3e5bdcc2 created 2 years 6 months ago.
By Werner Almesberger, atusb/: use VR, POWERED, and LED from kicad-libs
1#
2# usbwait/Makefile - Wait for an USB device to appear
3#
4# Written 2011 by Werner Almesberger
5# Copyright 2011 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
13
14MAIN = usbwait
15
16ifeq ($(TARGET),)
17TARGET = host
18endif
19
20ifeq ($(TARGET),host)
21
22include ../Makefile.common
23
24else
25
26.PHONY: all install uninstall clean spotless
27
28all:
29
30install:
31
32uninstall:
33
34clean:
35        rm -f $(MAIN).o
36
37spotless: clean
38        rm -f $(MAIN)
39
40endif
41

Archive Download this file



interactive