mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-20 14:21:45 +00:00
49 lines
830 B
Makefile
49 lines
830 B
Makefile
# Copyright (C) 2001-2005, 2007 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 DJGPP
|
|
|
|
CFLAGS =
|
|
LFLAGS = -lalleg
|
|
|
|
######################################################################
|
|
# GCC stuff
|
|
|
|
CC = gcc
|
|
OBJ = .o
|
|
LIB = .a
|
|
EXE = .exe
|
|
SUBMAKEFILE = makefile.dj
|
|
OBJ_DIR = obj/djgpp
|
|
|
|
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
|