summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 3e15b46..698cba9 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ $(SYX): $(HEX) $(HEXTOSYX) $(SIMULATOR)
43$(HEXTOSYX): 43$(HEXTOSYX):
44 $(HOST_GPP) -Ofast -std=c++0x -I./$(TOOLS)/libintelhex/include ./$(TOOLS)/libintelhex/src/intelhex.cc $(TOOLS)/hextosyx.cpp -o $(HEXTOSYX) 44 $(HOST_GPP) -Ofast -std=c++0x -I./$(TOOLS)/libintelhex/include ./$(TOOLS)/libintelhex/src/intelhex.cc $(TOOLS)/hextosyx.cpp -o $(HEXTOSYX)
45 45
46# build the simulator and run it (it's a very basic test of the code before it runs on the device!) 46# build the simulator (it's a very basic test of the code before it runs on the device!)
47$(SIMULATOR): 47$(SIMULATOR):
48 $(HOST_GCC) -O0 -std=c99 -Iinclude $(TOOLS)/simulator.c src/app.c -o $(SIMULATOR) 48 $(HOST_GCC) -O0 -std=c99 -Iinclude $(TOOLS)/simulator.c src/app.c -o $(SIMULATOR)
49 49
@@ -57,9 +57,5 @@ $(BUILDDIR)/%.o: %.c
57 mkdir -p $(dir $@) 57 mkdir -p $(dir $@)
58 $(CC) -c $(CFLAGS) $< -o $@ 58 $(CC) -c $(CFLAGS) $< -o $@
59 59
60$(BUILDDIR)/%.o: %.s
61 mkdir -p $(dir $@)
62 $(CC) -c $(CFLAGS) $< -o $@
63
64clean: 60clean:
65 rm -rf $(BUILDDIR) 61 rm -rf $(BUILDDIR)