summaryrefslogtreecommitdiff
path: root/nuttx/graphics/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-26 19:39:54 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-26 19:39:54 +0000
commitc69918b69d0997c40ab33f9d2233dd6f520508c7 (patch)
tree5654f6d0fc45599bfea74761d932c78c2b0b8bbe /nuttx/graphics/Makefile
parent09b6c18505705e403b6d0f9236075d526b3071e5 (diff)
downloadnuttx-c69918b69d0997c40ab33f9d2233dd6f520508c7.tar.gz
nuttx-c69918b69d0997c40ab33f9d2233dd6f520508c7.tar.bz2
nuttx-c69918b69d0997c40ab33f9d2233dd6f520508c7.zip
Add another rasterizer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1314 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics/Makefile')
-rw-r--r--nuttx/graphics/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/nuttx/graphics/Makefile b/nuttx/graphics/Makefile
index fc258d997..63f1b82de 100644
--- a/nuttx/graphics/Makefile
+++ b/nuttx/graphics/Makefile
@@ -62,9 +62,10 @@ BIN = libgraphics$(LIBEXT)
VPATH = nxglib:nx
-all: $(BIN)
-.PHONY : depend clean distclean gensources gen1bppsources gen2bppsource gen4bppsource \
- gen8bppsource gen16bppsource gen24bppsource gen32bppsources
+all: mklibgraphics
+.PHONY : depend clean distclean mklibgraphics gensources gen1bppsources \
+ gen2bppsource gen4bppsource gen8bppsource gen16bppsource gen24bppsource \
+ gen32bppsources
gen1bppsources:
@make -C nxglib -f Makefile.sources TOPDIR=$(TOPDIR) NXGLIB_BITSPERPIXEL=1
@@ -95,11 +96,13 @@ $(AOBJS): %$(OBJEXT): %.S
$(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
-$(BIN): gensources $(OBJS)
+$(BIN): $(OBJS)
@( for obj in $(OBJS) ; do \
$(call ARCHIVE, $@, $${obj}); \
done ; )
+mklibgraphics: gensources $(BIN)
+
.depend: gensources Makefile $(SRCS)
@$(MKDEP) $(DEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@