Skip to content

Commit

Permalink
maeby an end point...
Browse files Browse the repository at this point in the history
  • Loading branch information
greisch committed Sep 9, 2011
1 parent d3151b8 commit 1bcc039
Showing 1 changed file with 28 additions and 17 deletions.
45 changes: 28 additions & 17 deletions xobundle/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@




fc11_stdcpp = libstdc++-devel-4.4.0-4.i586.rpm
fc11_glibc = glibc-headers-2.10.1-2.i586.rpm glibc-devel-2.10.1-2.i586.rpm
fc11_kernel_headers = kernel-headers-2.6.29.4-167.fc11.i586.rpm
fc11_opencv = opencv-1.0.0-15.fc11.i586.rpm



FC11 = fc11
FC11_RPM = opencv-1.0.0-15.fc11.i586.rpm
FC11_RPM = $(fc11_glibc) $(fc11_kernel_headers) $(fc11_stdcpp)
FC11_REPO = archives.fedoraproject.org/pub/archive/fedora/linux/releases/11/Everything/i386/os/Packages




$(FC11_REPO)/%.rpm:
# ok, lets check if $(FC11) direxctory exist...
(if [ ! -e $(FC11) ] ; then mkdir $(FC11) ; fi)
Expand All @@ -11,44 +24,42 @@ $(FC11_REPO)/%.rpm:


$(FC11)/%.rpm: $(FC11_REPO)/%.rpm
#rpm2cpio $@ | cpio -idmv
rpm2cpio $@ | (cd $(FC11) && cpio -idmv)

%.fc11.i586.rpm: $(FC11)/%.fc11.i586.rpm
echo pepe 32321
%.i586.rpm: $(FC11)/%.i586.rpm



pepe:
echo pepe

all:
echo yupi


all: ceibal_bundle
$(MAKE) -C ../Biblioteca\ PUI all
$(MAKE) -C ..//ARToolkit/lib/SRC all


cleanrpm:
#rm -rf $(FC11)/*
rm -rf $(FC11)/*

clean:
#rm nothing
$(MAKE) -C ../Biblioteca\ PUI clean
$(MAKE) -C ..//ARToolkit/lib/SRC clean



fc11_bundle: 0xFFFF-0.3.9-3.fc11.i586.rpm
fc11_bundle: $(FC11_RPM)


ceibal_bundle: fc11_bundle
# ceibal use fc11


ceibal_bundle: fc11_bundle
# ceibal use fc11


#to execute even if exist the file
.PHONY: all clean cleanrpm %.fc11.i586.rpm


.SECONDARY: $(FC11)/%.fc11.i586.rpm





#fc11_bundle ceibal_bundle
Expand Down

0 comments on commit 1bcc039

Please sign in to comment.