mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-20 14:21:45 +00:00
35 lines
909 B
Bash
35 lines
909 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/tinyxml \
|
|
-Ithird_party/loadpng \
|
|
-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
|