IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Git Source Tree
Root/
| Source at commit 1f003f1c2100f7f3670106fd13df0eaec7a0e4e1 created 7 years 3 months ago. By Werner Almesberger, atusb/atusb.kicad_pcb: grow RF feed trace to 1.9 mm, for 1.0 mm PCB | |
|---|---|
| 1 | # |
| 2 | # Makefile.basic - Basic makefile for single-executable builds |
| 3 | # |
| 4 | # Written 2008, 2011 by Werner Almesberger |
| 5 | # Copyright 2008, 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 | |
| 14 | INSTALL_PREFIX = /usr/local |
| 15 | |
| 16 | CFLAGS = -Wall |
| 17 | LDFLAGS = |
| 18 | LDLIBS = |
| 19 | |
| 20 | .PHONY: all install uninstall clean spotless |
| 21 | |
| 22 | all: $(MAIN) |
| 23 | |
| 24 | $(MAIN): $(MAIN).o $(OBJS) |
| 25 | $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(MAIN).o $(OBJS) $(LDLIBS) |
| 26 | |
| 27 | install: $(MAIN) |
| 28 | install $(MAIN) $(INSTALL_PREFIX)/bin/ |
| 29 | |
| 30 | uninstall: |
| 31 | rm -f $(INSTALL_PREFIX)/bin/$(MAIN) |
| 32 | |
| 33 | clean:: |
| 34 | rm -f $(MAIN).o $(OBJS) |
| 35 | |
| 36 | spotless: clean |
| 37 | rm -f $(MAIN) |
| 38 | |
