diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-11 06:48:11 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-11 06:48:11 -0600 |
commit | e2c67e4e2ffa22cea52bcfd514429431f3d8a67d (patch) | |
tree | ef2214976e18280aff2c7e8cbb13598080e7e9bb /apps | |
parent | 306ae83c983ed04e31d22ad6ee119831a284fc9b (diff) | |
download | nuttx-e2c67e4e2ffa22cea52bcfd514429431f3d8a67d.tar.gz nuttx-e2c67e4e2ffa22cea52bcfd514429431f3d8a67d.tar.bz2 nuttx-e2c67e4e2ffa22cea52bcfd514429431f3d8a67d.zip |
MAINOBJ needs to be added to object list in many Makefile
Diffstat (limited to 'apps')
88 files changed, 88 insertions, 88 deletions
diff --git a/apps/examples/adc/Makefile b/apps/examples/adc/Makefile index 2c84db045..1cd406a80 100644 --- a/apps/examples/adc/Makefile +++ b/apps/examples/adc/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/buttons/Makefile b/apps/examples/buttons/Makefile index 6310e5ba5..ed1361922 100644 --- a/apps/examples/buttons/Makefile +++ b/apps/examples/buttons/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/can/Makefile b/apps/examples/can/Makefile index d9c837587..44d43ace8 100644 --- a/apps/examples/can/Makefile +++ b/apps/examples/can/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/cc3000/Makefile b/apps/examples/cc3000/Makefile index a2e2e306b..fa385a81e 100644 --- a/apps/examples/cc3000/Makefile +++ b/apps/examples/cc3000/Makefile @@ -104,7 +104,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/configdata/Makefile b/apps/examples/configdata/Makefile index b40f7b25b..c5b7dbe2d 100644 --- a/apps/examples/configdata/Makefile +++ b/apps/examples/configdata/Makefile @@ -85,7 +85,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/cpuhog/Makefile b/apps/examples/cpuhog/Makefile index 5ae7f8df1..b21f143c0 100644 --- a/apps/examples/cpuhog/Makefile +++ b/apps/examples/cpuhog/Makefile @@ -94,7 +94,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/cxxtest/Makefile b/apps/examples/cxxtest/Makefile index 6961bce44..c690e88a8 100644 --- a/apps/examples/cxxtest/Makefile +++ b/apps/examples/cxxtest/Makefile @@ -101,7 +101,7 @@ endif $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) $(CXXOBJS): %$(OBJEXT): %.cxx diff --git a/apps/examples/dhcpd/Makefile b/apps/examples/dhcpd/Makefile index ad7f5d514..7ca4bed09 100644 --- a/apps/examples/dhcpd/Makefile +++ b/apps/examples/dhcpd/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/discover/Makefile b/apps/examples/discover/Makefile index 6d419fd41..51abaf5dc 100644 --- a/apps/examples/discover/Makefile +++ b/apps/examples/discover/Makefile @@ -92,7 +92,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/elf/Makefile b/apps/examples/elf/Makefile index 08fc74f06..c813e1eb1 100644 --- a/apps/examples/elf/Makefile +++ b/apps/examples/elf/Makefile @@ -85,7 +85,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) # This is a little messy. The build is broken into two pieces: (1) the diff --git a/apps/examples/flash_test/Makefile b/apps/examples/flash_test/Makefile index d6889d854..ad91bed84 100644 --- a/apps/examples/flash_test/Makefile +++ b/apps/examples/flash_test/Makefile @@ -94,7 +94,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/ftpc/Makefile b/apps/examples/ftpc/Makefile index 10698ba31..950677c9e 100644 --- a/apps/examples/ftpc/Makefile +++ b/apps/examples/ftpc/Makefile @@ -89,7 +89,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/ftpd/Makefile b/apps/examples/ftpd/Makefile index 5037faad6..0675f0a46 100644 --- a/apps/examples/ftpd/Makefile +++ b/apps/examples/ftpd/Makefile @@ -86,7 +86,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/hello/Makefile b/apps/examples/hello/Makefile index 56405cdbb..ce7c5fea2 100644 --- a/apps/examples/hello/Makefile +++ b/apps/examples/hello/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/helloxx/Makefile b/apps/examples/helloxx/Makefile index 151c1faa1..6a5da5416 100644 --- a/apps/examples/helloxx/Makefile +++ b/apps/examples/helloxx/Makefile @@ -99,7 +99,7 @@ endif $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) $(CXXOBJS): %$(OBJEXT): %.cxx diff --git a/apps/examples/hidkbd/Makefile b/apps/examples/hidkbd/Makefile index db60dc76d..acb4d4e24 100644 --- a/apps/examples/hidkbd/Makefile +++ b/apps/examples/hidkbd/Makefile @@ -85,7 +85,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/i2schar/Makefile b/apps/examples/i2schar/Makefile index ba44b401f..3347fb66d 100644 --- a/apps/examples/i2schar/Makefile +++ b/apps/examples/i2schar/Makefile @@ -97,7 +97,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/igmp/Makefile b/apps/examples/igmp/Makefile index 19a901670..1c58629b5 100644 --- a/apps/examples/igmp/Makefile +++ b/apps/examples/igmp/Makefile @@ -89,7 +89,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/json/Makefile b/apps/examples/json/Makefile index aaea3f05d..3a19041c7 100644 --- a/apps/examples/json/Makefile +++ b/apps/examples/json/Makefile @@ -89,7 +89,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/keypadtest/Makefile b/apps/examples/keypadtest/Makefile index 1c8959e94..6aefb4a8c 100644 --- a/apps/examples/keypadtest/Makefile +++ b/apps/examples/keypadtest/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/lcdrw/Makefile b/apps/examples/lcdrw/Makefile index 1e9564cc2..35b2064f3 100644 --- a/apps/examples/lcdrw/Makefile +++ b/apps/examples/lcdrw/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/mm/Makefile b/apps/examples/mm/Makefile index 7884d410f..155f811c9 100644 --- a/apps/examples/mm/Makefile +++ b/apps/examples/mm/Makefile @@ -85,7 +85,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/modbus/Makefile b/apps/examples/modbus/Makefile index e940a248a..b8bbce88c 100644 --- a/apps/examples/modbus/Makefile +++ b/apps/examples/modbus/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/mount/Makefile b/apps/examples/mount/Makefile index 2d3ef52ce..f54edbb82 100644 --- a/apps/examples/mount/Makefile +++ b/apps/examples/mount/Makefile @@ -85,7 +85,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/mtdpart/Makefile b/apps/examples/mtdpart/Makefile index 769e6b891..8b418327c 100755 --- a/apps/examples/mtdpart/Makefile +++ b/apps/examples/mtdpart/Makefile @@ -85,7 +85,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/netpkt/Makefile b/apps/examples/netpkt/Makefile index f4fb2eef1..2f6d2eee5 100644 --- a/apps/examples/netpkt/Makefile +++ b/apps/examples/netpkt/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/nrf24l01_term/Makefile b/apps/examples/nrf24l01_term/Makefile index 8ce3e60cd..db267b59e 100644 --- a/apps/examples/nrf24l01_term/Makefile +++ b/apps/examples/nrf24l01_term/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/nsh/Makefile b/apps/examples/nsh/Makefile index 28d0cf6b6..bcfb1fb6c 100644 --- a/apps/examples/nsh/Makefile +++ b/apps/examples/nsh/Makefile @@ -85,7 +85,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/null/Makefile b/apps/examples/null/Makefile index a0c9d3a2b..3a63cb748 100644 --- a/apps/examples/null/Makefile +++ b/apps/examples/null/Makefile @@ -85,7 +85,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/nx/Makefile b/apps/examples/nx/Makefile index 6b0d59d11..6c5d15063 100644 --- a/apps/examples/nx/Makefile +++ b/apps/examples/nx/Makefile @@ -94,7 +94,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/nxconsole/Makefile b/apps/examples/nxconsole/Makefile index eb358e790..5060cbeab 100644 --- a/apps/examples/nxconsole/Makefile +++ b/apps/examples/nxconsole/Makefile @@ -85,7 +85,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/nxffs/Makefile b/apps/examples/nxffs/Makefile index 83f921bc3..0d92dc146 100644 --- a/apps/examples/nxffs/Makefile +++ b/apps/examples/nxffs/Makefile @@ -85,7 +85,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/nxflat/Makefile b/apps/examples/nxflat/Makefile index 47e8d8ea1..ccc7d4c97 100644 --- a/apps/examples/nxflat/Makefile +++ b/apps/examples/nxflat/Makefile @@ -85,7 +85,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) headers: diff --git a/apps/examples/nxhello/Makefile b/apps/examples/nxhello/Makefile index 5d6dc804f..bd41344c1 100644 --- a/apps/examples/nxhello/Makefile +++ b/apps/examples/nxhello/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/nximage/Makefile b/apps/examples/nximage/Makefile index b62fe3943..ec8a96709 100644 --- a/apps/examples/nximage/Makefile +++ b/apps/examples/nximage/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/nxlines/Makefile b/apps/examples/nxlines/Makefile index bc9e06816..fae42e1c3 100644 --- a/apps/examples/nxlines/Makefile +++ b/apps/examples/nxlines/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/nxtext/Makefile b/apps/examples/nxtext/Makefile index f73dd42f2..5734b5554 100644 --- a/apps/examples/nxtext/Makefile +++ b/apps/examples/nxtext/Makefile @@ -95,7 +95,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/ostest/Makefile b/apps/examples/ostest/Makefile index c6712038e..f21da9309 100644 --- a/apps/examples/ostest/Makefile +++ b/apps/examples/ostest/Makefile @@ -140,7 +140,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/pashello/Makefile b/apps/examples/pashello/Makefile index ef9acad22..9db97eace 100644 --- a/apps/examples/pashello/Makefile +++ b/apps/examples/pashello/Makefile @@ -93,7 +93,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/pipe/Makefile b/apps/examples/pipe/Makefile index 80ab25c27..45a76c19e 100644 --- a/apps/examples/pipe/Makefile +++ b/apps/examples/pipe/Makefile @@ -85,7 +85,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/poll/Makefile b/apps/examples/poll/Makefile index a9520255b..092945e85 100644 --- a/apps/examples/poll/Makefile +++ b/apps/examples/poll/Makefile @@ -85,7 +85,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/posix_spawn/Makefile b/apps/examples/posix_spawn/Makefile index 43d75885b..2227e0958 100644 --- a/apps/examples/posix_spawn/Makefile +++ b/apps/examples/posix_spawn/Makefile @@ -85,7 +85,7 @@ all: build $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) # This is a little messy. The build is broken into two pieces: (1) the diff --git a/apps/examples/pwm/Makefile b/apps/examples/pwm/Makefile index 318c1d7d0..c836d129e 100644 --- a/apps/examples/pwm/Makefile +++ b/apps/examples/pwm/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/qencoder/Makefile b/apps/examples/qencoder/Makefile index 77f4e4bc3..b0d0ef9f9 100644 --- a/apps/examples/qencoder/Makefile +++ b/apps/examples/qencoder/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/random/Makefile b/apps/examples/random/Makefile index 527df95b6..06c3056ca 100644 --- a/apps/examples/random/Makefile +++ b/apps/examples/random/Makefile @@ -89,7 +89,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/relays/Makefile b/apps/examples/relays/Makefile index 2574f04bd..3cfbaa6e7 100644 --- a/apps/examples/relays/Makefile +++ b/apps/examples/relays/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/rgmp/Makefile b/apps/examples/rgmp/Makefile index 2dda65f3b..c59e92a1e 100644 --- a/apps/examples/rgmp/Makefile +++ b/apps/examples/rgmp/Makefile @@ -85,7 +85,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/romfs/Makefile b/apps/examples/romfs/Makefile index 281357d97..204fe1ed5 100644 --- a/apps/examples/romfs/Makefile +++ b/apps/examples/romfs/Makefile @@ -85,7 +85,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) checkgenromfs: diff --git a/apps/examples/sendmail/Makefile b/apps/examples/sendmail/Makefile index 2fd72c959..926d5cacd 100644 --- a/apps/examples/sendmail/Makefile +++ b/apps/examples/sendmail/Makefile @@ -85,7 +85,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/serialblaster/Makefile b/apps/examples/serialblaster/Makefile index bf4acbec5..44b5c92f4 100644 --- a/apps/examples/serialblaster/Makefile +++ b/apps/examples/serialblaster/Makefile @@ -94,7 +94,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/serialrx/Makefile b/apps/examples/serialrx/Makefile index 4e97e49a0..2558dd979 100644 --- a/apps/examples/serialrx/Makefile +++ b/apps/examples/serialrx/Makefile @@ -94,7 +94,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/serloop/Makefile b/apps/examples/serloop/Makefile index ec945c93e..850d2e1b0 100644 --- a/apps/examples/serloop/Makefile +++ b/apps/examples/serloop/Makefile @@ -85,7 +85,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/slcd/Makefile b/apps/examples/slcd/Makefile index 8d27ca8ec..4f15d6fad 100644 --- a/apps/examples/slcd/Makefile +++ b/apps/examples/slcd/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/smart/Makefile b/apps/examples/smart/Makefile index 6916280ed..9248f5eeb 100644 --- a/apps/examples/smart/Makefile +++ b/apps/examples/smart/Makefile @@ -85,7 +85,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/smart_test/Makefile b/apps/examples/smart_test/Makefile index cb63bf4ff..c9160d629 100644 --- a/apps/examples/smart_test/Makefile +++ b/apps/examples/smart_test/Makefile @@ -94,7 +94,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/tcpecho/Makefile b/apps/examples/tcpecho/Makefile index 1af312020..d0a21e0b7 100644 --- a/apps/examples/tcpecho/Makefile +++ b/apps/examples/tcpecho/Makefile @@ -92,7 +92,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/telnetd/Makefile b/apps/examples/telnetd/Makefile index 74933e709..1713a9645 100644 --- a/apps/examples/telnetd/Makefile +++ b/apps/examples/telnetd/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/thttpd/Makefile b/apps/examples/thttpd/Makefile index eb979a7f8..12db34d8b 100644 --- a/apps/examples/thttpd/Makefile +++ b/apps/examples/thttpd/Makefile @@ -85,7 +85,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) headers: diff --git a/apps/examples/tiff/Makefile b/apps/examples/tiff/Makefile index 31cbc9dac..28078595f 100644 --- a/apps/examples/tiff/Makefile +++ b/apps/examples/tiff/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/touchscreen/Makefile b/apps/examples/touchscreen/Makefile index e10980aa8..69e2549ce 100644 --- a/apps/examples/touchscreen/Makefile +++ b/apps/examples/touchscreen/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/usbserial/Makefile b/apps/examples/usbserial/Makefile index 811b4e38e..78dd4b1c7 100644 --- a/apps/examples/usbserial/Makefile +++ b/apps/examples/usbserial/Makefile @@ -84,7 +84,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/usbterm/Makefile b/apps/examples/usbterm/Makefile index c9c1add69..3b55f0990 100644 --- a/apps/examples/usbterm/Makefile +++ b/apps/examples/usbterm/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/watchdog/Makefile b/apps/examples/watchdog/Makefile index 95ad82b48..2354894f4 100644 --- a/apps/examples/watchdog/Makefile +++ b/apps/examples/watchdog/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/webserver/Makefile b/apps/examples/webserver/Makefile index bb8702561..384bf0910 100644 --- a/apps/examples/webserver/Makefile +++ b/apps/examples/webserver/Makefile @@ -85,7 +85,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/wget/Makefile b/apps/examples/wget/Makefile index fd98c4610..87a39d193 100644 --- a/apps/examples/wget/Makefile +++ b/apps/examples/wget/Makefile @@ -85,7 +85,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/wgetjson/Makefile b/apps/examples/wgetjson/Makefile index a0e2989be..f4ddd234d 100644 --- a/apps/examples/wgetjson/Makefile +++ b/apps/examples/wgetjson/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/examples/xmlrpc/Makefile b/apps/examples/xmlrpc/Makefile index 4c591c328..5b8356db3 100644 --- a/apps/examples/xmlrpc/Makefile +++ b/apps/examples/xmlrpc/Makefile @@ -92,7 +92,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/graphics/screenshot/Makefile b/apps/graphics/screenshot/Makefile index 34641002e..87f8674ad 100644 --- a/apps/graphics/screenshot/Makefile +++ b/apps/graphics/screenshot/Makefile @@ -95,7 +95,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/netutils/thttpd/Makefile b/apps/netutils/thttpd/Makefile index 6e337c2c1..27021857c 100644 --- a/apps/netutils/thttpd/Makefile +++ b/apps/netutils/thttpd/Makefile @@ -98,7 +98,7 @@ all: $(SUBDIR_BIN) .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) ifeq ($(CONFIG_NXFLAT),y) diff --git a/apps/system/cdcacm/Makefile b/apps/system/cdcacm/Makefile index 28c459bbe..fe5207eda 100644 --- a/apps/system/cdcacm/Makefile +++ b/apps/system/cdcacm/Makefile @@ -95,7 +95,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/system/composite/Makefile b/apps/system/composite/Makefile index 98cb66d54..50819b772 100644 --- a/apps/system/composite/Makefile +++ b/apps/system/composite/Makefile @@ -95,7 +95,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/system/flash_eraseall/Makefile b/apps/system/flash_eraseall/Makefile index 817a2b8f4..07d9d142e 100644 --- a/apps/system/flash_eraseall/Makefile +++ b/apps/system/flash_eraseall/Makefile @@ -99,7 +99,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/system/free/Makefile b/apps/system/free/Makefile index 806307257..ace779de6 100644 --- a/apps/system/free/Makefile +++ b/apps/system/free/Makefile @@ -95,7 +95,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/system/hex2bin/Makefile b/apps/system/hex2bin/Makefile index 03fbd5910..9c49afad5 100644 --- a/apps/system/hex2bin/Makefile +++ b/apps/system/hex2bin/Makefile @@ -116,7 +116,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/system/i2c/Makefile b/apps/system/i2c/Makefile index 5b960fa8d..cab06eda2 100644 --- a/apps/system/i2c/Makefile +++ b/apps/system/i2c/Makefile @@ -88,7 +88,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/system/install/Makefile b/apps/system/install/Makefile index 79b0a0999..65a3e97d1 100644 --- a/apps/system/install/Makefile +++ b/apps/system/install/Makefile @@ -99,7 +99,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/system/mdio/Makefile b/apps/system/mdio/Makefile index 7d0fe5981..2fa178583 100644 --- a/apps/system/mdio/Makefile +++ b/apps/system/mdio/Makefile @@ -91,7 +91,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/system/nxplayer/Makefile b/apps/system/nxplayer/Makefile index a5a473c93..3b01c4e13 100644 --- a/apps/system/nxplayer/Makefile +++ b/apps/system/nxplayer/Makefile @@ -104,7 +104,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/system/poweroff/Makefile b/apps/system/poweroff/Makefile index 34d8851b4..3f07f9e8b 100644 --- a/apps/system/poweroff/Makefile +++ b/apps/system/poweroff/Makefile @@ -99,7 +99,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/system/prun/Makefile b/apps/system/prun/Makefile index fb4d6f79d..73d5ca470 100644 --- a/apps/system/prun/Makefile +++ b/apps/system/prun/Makefile @@ -105,7 +105,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/system/ramtest/Makefile b/apps/system/ramtest/Makefile index 2c443b08b..f9078cf72 100644 --- a/apps/system/ramtest/Makefile +++ b/apps/system/ramtest/Makefile @@ -92,7 +92,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/system/ramtron/Makefile b/apps/system/ramtron/Makefile index d4793ca71..baa191e71 100644 --- a/apps/system/ramtron/Makefile +++ b/apps/system/ramtron/Makefile @@ -99,7 +99,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/system/sdcard/Makefile b/apps/system/sdcard/Makefile index 89e4558c9..9aac89f95 100644 --- a/apps/system/sdcard/Makefile +++ b/apps/system/sdcard/Makefile @@ -99,7 +99,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/system/sudoku/Makefile b/apps/system/sudoku/Makefile index f86355249..18a6865df 100644 --- a/apps/system/sudoku/Makefile +++ b/apps/system/sudoku/Makefile @@ -95,7 +95,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/system/sysinfo/Makefile b/apps/system/sysinfo/Makefile index 7135d5a06..545049e0a 100644 --- a/apps/system/sysinfo/Makefile +++ b/apps/system/sysinfo/Makefile @@ -100,7 +100,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/system/usbmsc/Makefile b/apps/system/usbmsc/Makefile index 7a2485dfc..7d2ef010b 100644 --- a/apps/system/usbmsc/Makefile +++ b/apps/system/usbmsc/Makefile @@ -98,7 +98,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/system/vi/Makefile b/apps/system/vi/Makefile index 16514ba54..b679115df 100644 --- a/apps/system/vi/Makefile +++ b/apps/system/vi/Makefile @@ -96,7 +96,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) diff --git a/apps/system/zmodem/Makefile b/apps/system/zmodem/Makefile index a4d59c74e..739f52390 100644 --- a/apps/system/zmodem/Makefile +++ b/apps/system/zmodem/Makefile @@ -99,7 +99,7 @@ all: .built $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) -$(COBJS): %$(OBJEXT): %.c +$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) |