aseprite/misc/deps.sh
David Capello d1c38d7dfe Removed a lot of GUI functionality for scripting.
Added support to save PNG files.
Added alternative dirty rectangles technique to Jinete.
2007-12-06 03:00:10 +00:00

35 lines
900 B
Bash

#! /bin/sh
GCC="gcc -MM"
CFLAGS="-I. \
-Isrc \
-Ithird_party/lua/include \
-Ithird_party/gfli \
-Ithird_party/intl \
-Ithird_party/libpng \
-Ithird_party/zlib \
-Ithird_party/jpeg \
-Ithird_party/freetype/include \
-Ithird_party"
rm -f makefile.dep
$GCC $CFLAGS \
src/*.c \
src/commands/*.c \
src/commands/fx/*.c \
src/console/*.c \
src/core/*.c \
src/dialogs/*.c \
src/effect/*.c \
src/file/*.c \
src/intl/*.c \
src/jinete/*.c \
src/modules/*.c \
src/raster/*.c \
src/script/bindings.c src/script/script.c \
src/util/*.c \
src/widgets/*.c \
src/widgets/editor/*.c \
| sed -e 's/^\([a-z_\-]*\.o\)/obj\/mingw32\/\1/' >> makefile.dep