diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-18 00:37:07 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-18 00:37:07 +0000 |
commit | e89e1602fe68cedee9eee297561d7ac2c73ee465 (patch) | |
tree | a504e7470139c7f73baf8583f34627873873d55d /nuttx/examples/nxflat/tests/hello/Makefile | |
parent | d1a54833aa39c06f38bc656d0811674e9826f7d3 (diff) | |
download | px4-nuttx-e89e1602fe68cedee9eee297561d7ac2c73ee465.tar.gz px4-nuttx-e89e1602fe68cedee9eee297561d7ac2c73ee465.tar.bz2 px4-nuttx-e89e1602fe68cedee9eee297561d7ac2c73ee465.zip |
update Makefiles
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1901 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nxflat/tests/hello/Makefile')
-rw-r--r-- | nuttx/examples/nxflat/tests/hello/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/nuttx/examples/nxflat/tests/hello/Makefile b/nuttx/examples/nxflat/tests/hello/Makefile index c8cbf6112..78492d59f 100644 --- a/nuttx/examples/nxflat/tests/hello/Makefile +++ b/nuttx/examples/nxflat/tests/hello/Makefile @@ -47,11 +47,14 @@ all: $(BIN) $(OBJS): %.o: %.c $(NXFLATCC) -c $(NXFLATCFLAGS) $< -o $@ -$(BIN): $(OBJS) - $(NXFLATLD) $(NXFLATLDFLAGS) -o $@ $(OBJS) +$(BIN).rnx: $(OBJS) + $(NXFLATLD) -r $(NXFLATLDFLAGS) -o $@ $^ + +$(BIN): $(BIN).rnx + touch $(BIN) # For now clean: - rm -f $(BIN) *.o core + rm -f $(BIN) *.o *.rnx *~ .*.swp core install: install -D $(BIN) $(ROMFS_DIR)/$(BIN) |