diff options
-rw-r--r-- | Makefile | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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 | |||
64 | clean: | 60 | clean: |
65 | rm -rf $(BUILDDIR) | 61 | rm -rf $(BUILDDIR) |