1 # ------------------------------------------------------------------------
4 # Copyright (c) 2003, 2004
5 # Thanks to Schwarzung for the help on making the original makefile system.
6 # ------------------------------------------------------------------------
8 # This has the target platform defined, this is modified by fix.bat or fix.sh
11 # Suggested by GNU Coding Stardards
14 # ===============================================
15 # Target binary name without extension
24 # Source code suffix (.c, .cpp, etc)
27 # Simple source code test file (must be in same dir as makefile for now) :(
28 # The extension will be taken from SRCSUF, don't put it!
30 # ===============================================
33 # -----------------------------
34 # -- Platform specific stuff --
35 # -----------------------------
40 ifeq ($(TARGET
),DJGPP
)
52 # If you need extra link options (like more librarys, add to LFLAGS var)
53 LFLAGS
= -s
-laldmb
-ldumb
-lalleg
56 CFLAGS
= -I
$(INCDIR
) -Wall
-O3
62 ifeq ($(TARGET
),MINGW32
)
72 # If you need extra link options (like more librarys, add to LFLAGS var)
73 LFLAGS
= -Wl
,--subsystem
,windows
-s
-laldmb
-ldumb
-lalleg
76 CFLAGS
= -I
$(INCDIR
) -Wall
-O3
82 ifeq ($(TARGET
),LINUX
)
92 # If you need extra link options (like more librarys, add to LFLAGS var)
93 LFLAGS
= -s
-laldmb
-ldumb
`allegro-config --libs`
96 CFLAGS
= -I
$(INCDIR
) -Wall
-O3
99 # ---------------------------------
100 # -- Platform non-specific stuff --
101 # ---------------------------------
103 OBJDIR
= obj
/$(PLATFORMDIR
)
106 # -- The rules for build are in this file --