diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-26 18:59:52 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-26 18:59:52 +0000 |
commit | 09b6c18505705e403b6d0f9236075d526b3071e5 (patch) | |
tree | 657960a7d9407f88d2d0435fd15c1d5fd33f79cb /nuttx/graphics/Makefile | |
parent | 5bd8df9d37f1ed4e504ff6b43545ba8300cd2de1 (diff) | |
download | nuttx-09b6c18505705e403b6d0f9236075d526b3071e5.tar.gz nuttx-09b6c18505705e403b6d0f9236075d526b3071e5.tar.bz2 nuttx-09b6c18505705e403b6d0f9236075d526b3071e5.zip |
First rasterizer builds OK
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1313 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics/Makefile')
-rw-r--r-- | nuttx/graphics/Makefile | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/nuttx/graphics/Makefile b/nuttx/graphics/Makefile index 6b39cd676..fc258d997 100644 --- a/nuttx/graphics/Makefile +++ b/nuttx/graphics/Makefile @@ -63,6 +63,31 @@ BIN = libgraphics$(LIBEXT) VPATH = nxglib:nx all: $(BIN) +.PHONY : depend clean distclean gensources gen1bppsources gen2bppsource gen4bppsource \ + gen8bppsource gen16bppsource gen24bppsource gen32bppsources + +gen1bppsources: + @make -C nxglib -f Makefile.sources TOPDIR=$(TOPDIR) NXGLIB_BITSPERPIXEL=1 + +gen2bppsource: + @make -C nxglib -f Makefile.sources TOPDIR=$(TOPDIR) NXGLIB_BITSPERPIXEL=2 + +gen4bppsource: + @make -C nxglib -f Makefile.sources TOPDIR=$(TOPDIR) NXGLIB_BITSPERPIXEL=4 + +gen8bppsource: + @make -C nxglib -f Makefile.sources TOPDIR=$(TOPDIR) NXGLIB_BITSPERPIXEL=8 + +gen16bppsource: + @make -C nxglib -f Makefile.sources TOPDIR=$(TOPDIR) NXGLIB_BITSPERPIXEL=16 + +gen24bppsource: + @make -C nxglib -f Makefile.sources TOPDIR=$(TOPDIR) NXGLIB_BITSPERPIXEL=24 + +gen32bppsources: + @make -C nxglib -f Makefile.sources TOPDIR=$(TOPDIR) NXGLIB_BITSPERPIXEL=32 + +gensources: gen1bppsources gen2bppsource gen4bppsource gen8bppsource gen16bppsource gen24bppsource gen32bppsources $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) @@ -70,22 +95,24 @@ $(AOBJS): %$(OBJEXT): %.S $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) -$(BIN): $(OBJS) +$(BIN): gensources $(OBJS) @( for obj in $(OBJS) ; do \ $(call ARCHIVE, $@, $${obj}); \ done ; ) -.depend: Makefile $(SRCS) +.depend: gensources Makefile $(SRCS) @$(MKDEP) $(DEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @touch $@ depend: .depend clean: + @make -C nxglib -f Makefile.sources clean TOPDIR=$(TOPDIR) @rm -f $(BIN) *~ .*.swp $(call CLEAN) distclean: clean + @make -C nxglib -f Makefile.sources distclean TOPDIR=$(TOPDIR) @rm -f Make.dep .depend -include Make.dep |