aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/octoclock/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/octoclock/Makefile')
-rw-r--r--firmware/octoclock/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/firmware/octoclock/Makefile b/firmware/octoclock/Makefile
index 517dee4c5..acf26f617 100644
--- a/firmware/octoclock/Makefile
+++ b/firmware/octoclock/Makefile
@@ -1,6 +1,19 @@
#
# Copyright 2009 Ettus Research LLC
#
+# 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 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
##################################################
# Compiler
@@ -19,7 +32,6 @@ CFLAGS = -std=gnu99 -O2
##################################################
# Files
##################################################
-HDRS = OctoClock-io.h
SRCS = OctoClock.c
TARGET = octoclock_fw
@@ -52,5 +64,5 @@ $(TARGET).hex: $(TARGET).elf
$(TARGET).elf: $(SRCS:.c=.o)
$(CC) -mmcu=$(MMCU) $^ -o $@
-%.o: %.c $(HDRS) Makefile
+%.o: %.c Makefile
$(CC) -mmcu=$(MMCU) -c $< -o $@ $(CFLAGS)