aseprite/makefile.mgw
David Capello ef28731b5a Renamed exchange_colors to switch_colors
Removed the bugreport address
"color" is now in the core (isn't a module anymore)
Refactored palette_editor -> paledit
Added test_intmult.c
Completed test_jlist.c
Added test_init, test_init_gui & test_exit routines
Added test_jgrid.c
2008-03-15 01:54:45 +00:00

69 lines
1.1 KiB
Makefile

# Copyright (C) 2001-2005, 2007, 2008 by David A. 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
else
LFLAGS_LAST = -lalleg
endif
ifdef MEMLEAK
LFLAGS += -lpsapi
endif
WITHICON = 1
######################################################################
# GCC stuff
CC = gcc
OBJ = .o
LIB = .a
EXE = .exe
SUBMAKEFILE = makefile.mgw
OBJ_DIR = obj/mingw32
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)
distclean: clean
-rm -f $(ASE)
-include makefile.dep