improved coding style

This commit is contained in:
Volker Grabsch 2010-02-16 03:49:06 +01:00
parent 0b1e593a49
commit fcc25621b3
4 changed files with 8 additions and 14 deletions

View File

@ -59,8 +59,6 @@ define $(PKG)_BUILD
'$(TARGET)-gcc' \
-W -Wall -Werror -ansi -pedantic \
`'$(TARGET)-pkg-config' gtk+-2.0 --cflags` \
'$(2).c' \
`'$(TARGET)-pkg-config' gtk+-2.0 --libs` \
-o '$(PREFIX)/$(TARGET)/bin/test-gtk.exe'
'$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-gtk.exe' \
`'$(TARGET)-pkg-config' gtk+-2.0 --cflags --libs`
endef

View File

@ -31,6 +31,6 @@ define $(PKG)_BUILD
'$(TARGET)-gcc' \
-W -Wall -Werror -ansi -pedantic \
`'$(TARGET)-pkg-config' sdl --cflags --libs` \
'$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-sdl.exe'
'$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-sdl.exe' \
`'$(TARGET)-pkg-config' sdl --cflags --libs`
endef

View File

@ -36,8 +36,6 @@ define $(PKG)_BUILD
'$(TARGET)-gcc' \
-W -Wall -Werror -ansi -pedantic \
`'$(TARGET)-pkg-config' SDL_image --cflags` \
'$(2).c' \
`'$(TARGET)-pkg-config' SDL_image --libs` \
-o '$(PREFIX)/$(TARGET)/bin/test-sdl_image.exe'
'$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-sdl_image.exe' \
`'$(TARGET)-pkg-config' SDL_image --cflags --libs`
endef

View File

@ -49,8 +49,6 @@ define $(PKG)_BUILD
'$(TARGET)-gcc' \
-W -Wall -Werror -ansi -pedantic \
`'$(TARGET)-pkg-config' SDL_mixer --cflags` \
'$(2).c' \
`'$(TARGET)-pkg-config' SDL_mixer --libs` \
-o '$(PREFIX)/$(TARGET)/bin/test-sdl_mixer.exe'
'$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-sdl_mixer.exe' \
`'$(TARGET)-pkg-config' SDL_mixer --cflags --libs`
endef