diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-21 16:58:58 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-21 16:58:58 +0000 |
commit | ae15cd5e53907a95e42586d1a96a24b71299349d (patch) | |
tree | 187cdab659238c72bca505dd07fec653cf640623 /nuttx/examples/nxflat/tests/hello/Makefile | |
parent | 77c1a6ae19c1cbe5e2b7f1de0d73809885f11ed7 (diff) | |
download | px4-nuttx-ae15cd5e53907a95e42586d1a96a24b71299349d.tar.gz px4-nuttx-ae15cd5e53907a95e42586d1a96a24b71299349d.tar.bz2 px4-nuttx-ae15cd5e53907a95e42586d1a96a24b71299349d.zip |
Flesh out examples/nxflat build environment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1921 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nxflat/tests/hello/Makefile')
-rw-r--r-- | nuttx/examples/nxflat/tests/hello/Makefile | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/nuttx/examples/nxflat/tests/hello/Makefile b/nuttx/examples/nxflat/tests/hello/Makefile index 7aea72240..ccde7a98f 100644 --- a/nuttx/examples/nxflat/tests/hello/Makefile +++ b/nuttx/examples/nxflat/tests/hello/Makefile @@ -35,7 +35,6 @@ -include $(TOPDIR)/.config # Current configuration -include $(TOPDIR)/Make.defs # Basic make info -include ../Make.defs # NXFLAT make info BIN = hello @@ -48,26 +47,32 @@ R2OBJ = $(R2SRC:.S=.o) all: $(BIN) $(R1OBJS): %.o: %.c - $(NXFLATCC) -c $(NXFLATCFLAGS) $< -o $@ + @echo "CC: $<" + @$(CC) -c $(CPICFLAGS) $< -o $@ $(R2OBJ): %.o: %.S - $(NXFLATCC) -c $(NXFLATCFLAGS) $< -o $@ + @echo "AS: $<" + @$(CC) -c $(CPICFLAGS) $< -o $@ $(BIN).r1: $(R1OBJS) - $(NXFLATLD) $(NXFLATLDFLAGS1) -o $@ $^ + @echo "LD: $<" + @$(LD) $(NXFLATLDFLAGS1) -o $@ $^ $(R2SRC): $(BIN).r1 - $(MKNXFLAT) -o $@ $^ + @echo "MK: $<" + @$(MKNXFLAT) -o $@ $^ $(BIN).r2: $(R2OBJ) - $(NXFLATLD) $(NXFLATLDFLAGS2) -o $@ $(R1OBJS) $(R2OBJ) + @echo "LD: $<" + @$(LD) $(NXFLATLDFLAGS2) -o $@ $(R1OBJS) $(R2OBJ) $(BIN): $(BIN).r2 - $(LDNXFLAT) $(LDNXFLATFLAGS) -o $@ $^ + @echo "LD: $<" + @$(LDNXFLAT) $(LDNXFLATFLAGS) -o $@ $^ clean: - rm -f $(BIN) $(R2SRC) *.o *.r1 *.r2 *~ .*.swp core + @rm -f $(BIN) $(R2SRC) *.o *.r1 *.r2 *~ .*.swp core install: - install -D $(BIN) $(ROMFS_DIR)/$(BIN) + @install -D $(BIN) $(ROMFS_DIR)/$(BIN) |