mirror of
https://github.com/raspberrypi/userland.git
synced 2025-12-06 04:49:12 +00:00
hello_pi: Add top level makefile and enable parallel build
This commit is contained in:
42
host_applications/linux/apps/hello_pi/Makefile
Normal file
42
host_applications/linux/apps/hello_pi/Makefile
Normal file
@@ -0,0 +1,42 @@
|
||||
all: apps
|
||||
|
||||
libs/ilclient/libilclient.a:
|
||||
$(MAKE) -C libs/ilclient
|
||||
|
||||
libs/vgfont/libvgfont.a:
|
||||
$(MAKE) -C libs/vgfont
|
||||
|
||||
apps: libs/ilclient/libilclient.a libs/vgfont/libvgfont.a
|
||||
$(MAKE) -C hello_world
|
||||
$(MAKE) -C hello_triangle
|
||||
$(MAKE) -C hello_triangle2
|
||||
$(MAKE) -C hello_video
|
||||
$(MAKE) -C hello_audio
|
||||
$(MAKE) -C hello_font
|
||||
$(MAKE) -C hello_dispmanx
|
||||
$(MAKE) -C hello_tiger
|
||||
$(MAKE) -C hello_encode
|
||||
$(MAKE) -C hello_jpeg
|
||||
$(MAKE) -C hello_videocube
|
||||
$(MAKE) -C hello_teapot
|
||||
$(MAKE) -C hello_fft
|
||||
$(MAKE) -C hello_mmal_encode
|
||||
|
||||
clean:
|
||||
$(MAKE) -C libs/ilclient clean
|
||||
$(MAKE) -C libs/vgfont clean
|
||||
$(MAKE) -C hello_world clean
|
||||
$(MAKE) -C hello_triangle clean
|
||||
$(MAKE) -C hello_triangle2 clean
|
||||
$(MAKE) -C hello_video clean
|
||||
$(MAKE) -C hello_audio clean
|
||||
$(MAKE) -C hello_font clean
|
||||
$(MAKE) -C hello_dispmanx clean
|
||||
$(MAKE) -C hello_tiger clean
|
||||
$(MAKE) -C hello_encode clean
|
||||
$(MAKE) -C hello_jpeg clean
|
||||
$(MAKE) -C hello_videocube clean
|
||||
$(MAKE) -C hello_teapot clean
|
||||
$(MAKE) -C hello_fft clean
|
||||
$(MAKE) -C hello_mmal_encode clean
|
||||
|
||||
@@ -1,34 +1,2 @@
|
||||
make -C libs/ilclient clean
|
||||
make -C libs/vgfont clean
|
||||
make -C hello_world clean
|
||||
make -C hello_triangle clean
|
||||
make -C hello_triangle2 clean
|
||||
make -C hello_video clean
|
||||
make -C hello_audio clean
|
||||
make -C hello_font clean
|
||||
make -C hello_dispmanx clean
|
||||
make -C hello_tiger clean
|
||||
make -C hello_encode clean
|
||||
make -C hello_jpeg clean
|
||||
make -C hello_videocube clean
|
||||
make -C hello_teapot clean
|
||||
make -C hello_fft clean
|
||||
make -C hello_mmal_encode clean
|
||||
|
||||
make -C libs/ilclient
|
||||
make -C libs/vgfont
|
||||
make -C hello_world
|
||||
make -C hello_triangle
|
||||
make -C hello_triangle2
|
||||
make -C hello_video
|
||||
make -C hello_audio
|
||||
make -C hello_font
|
||||
make -C hello_dispmanx
|
||||
make -C hello_tiger
|
||||
make -C hello_encode
|
||||
make -C hello_jpeg
|
||||
make -C hello_videocube
|
||||
make -C hello_teapot
|
||||
make -C hello_fft
|
||||
make -C hello_mmal_encode
|
||||
|
||||
make clean
|
||||
make -j$(nproc)
|
||||
|
||||
Reference in New Issue
Block a user