mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-26 18:21:44 +00:00
8f92f78702
- Added SpriteSizeJob class. - Added ScopedLock class. - Fixed some bugs.
66 lines
1.1 KiB
Makefile
66 lines
1.1 KiB
Makefile
# Copyright (C) 2001-2009 by David Capello -*-Makefile-*-
|
|
|
|
ifndef CONFIGURED
|
|
include makefile.cfg
|
|
endif
|
|
|
|
.PHONY = cfgtest
|
|
|
|
ifndef CONFIGURED
|
|
cfgtest:
|
|
@echo You must configure ASE: edit \"makefile.cfg\" or run \"fix.sh\" script
|
|
endif
|
|
|
|
######################################################################
|
|
# Flags for MinGW
|
|
|
|
# CFLAGS = -D_WIN32_WINNT=0x0500
|
|
CFLAGS =
|
|
LFLAGS = -mwindows -lshlwapi
|
|
ifdef DEBUGMODE
|
|
LFLAGS_LAST = -lalld -lpsapi
|
|
else
|
|
LFLAGS_LAST = -lalleg
|
|
endif
|
|
|
|
WITHICON = 1
|
|
|
|
######################################################################
|
|
# GCC stuff
|
|
|
|
CC = gcc
|
|
CPP = g++
|
|
OBJ = .o
|
|
EXE = .exe
|
|
LIB_EXT = .a
|
|
OBJ_DIR = obj/mingw32
|
|
SUBMAKEFILE = makefile.mgw
|
|
|
|
ifndef CROSSCOMPILE
|
|
DLLWRAP = dllwrap
|
|
WINDRES = windres
|
|
else
|
|
DLLWRAP = $(XPREFIX)dllwrap
|
|
WINDRES = $(XPREFIX)windres
|
|
endif
|
|
|
|
include makefile.lst
|
|
include makefile.gcc
|
|
|
|
######################################################################
|
|
# General rules
|
|
|
|
.PHONY = default all clean distclean
|
|
|
|
default: all
|
|
|
|
all: $(ASE)
|
|
|
|
clean:
|
|
-rm -f $(ALL_OBJS) $(THIRD_PARTY_LIBS) $(OBJ_DIR)/icon.res
|
|
|
|
distclean: clean
|
|
-rm -f $(ASE)
|
|
|
|
-include makefile.dep
|