notaz.gp2x.de
/
teensytas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
starting host program
[teensytas.git]
/
host
/
Makefile
diff --git a/host/Makefile
b/host/Makefile
new file mode 100644
(file)
index 0000000..
4649736
--- /dev/null
+++ b/
host/Makefile
@@ -0,0
+1,15
@@
+CFLAGS += -Wall -ggdb
+ifndef DEBUG
+CFLAGS += -O2
+endif
+
+TARGET = main
+OBJS = main.o
+
+all: $(TARGET)
+
+$(TARGET): $(OBJS)
+ $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS)
+
+clean:
+ $(RM) $(TARGET) $(OBJS)