mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-20 14:21:45 +00:00
33 lines
855 B
Bash
33 lines
855 B
Bash
#! /bin/sh
|
|
|
|
GCC="gcc -MM"
|
|
CFLAGS="-I. \
|
|
-Isrc \
|
|
-Ithird_party/lua/include \
|
|
-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/*.cpp \
|
|
src/commands/*.cpp \
|
|
src/commands/fx/*.cpp \
|
|
src/core/*.cpp \
|
|
src/dialogs/*.cpp \
|
|
src/effect/*.cpp \
|
|
src/file/*.cpp \
|
|
src/file/*/*.cpp \
|
|
src/intl/*.cpp \
|
|
src/jinete/*.cpp \
|
|
src/modules/*.cpp \
|
|
src/raster/*.cpp \
|
|
src/util/*.cpp \
|
|
src/widgets/*.cpp \
|
|
src/widgets/editor/*.cpp \
|
|
| sed -e 's/^\([a-z_\-]*\)\.o/\$(OBJ_DIR)\/\1\$(OBJ)/' >> makefile.dep
|