notaz.gp2x.de
/
megadrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add 'teensytp/' from commit 'be48e888050f18a31e788269c8f47358036a8e3b'
[megadrive.git]
/
teensytp
/
host
/
Makefile
diff --git a/teensytp/host/Makefile
b/teensytp/host/Makefile
new file mode 100644
(file)
index 0000000..
4649736
--- /dev/null
+++ b/
teensytp/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)