annotate Makefile @ 424:e88b2993801c

Fix build for Win32.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 03 Nov 2012 08:21:29 +0200
parents f18f07d8a731
children e1526854e735
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 #
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2 # Generic UNIX targets
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3 #
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4 SDL_CFLAGS=`sdl-config --cflags`
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
5 SDL_LDFLAGS=`sdl-config --static-libs`
407
59244a7ae37f Move c64 utilities to the engine lib, as we benefit from a common framework.
Matti Hamalainen <ccr@tnsp.org>
parents: 355
diff changeset
6
112
e1b6aa3017c2 Add Tremor stuff to default Makefiles.
Matti Hamalainen <ccr@tnsp.org>
parents: 5
diff changeset
7 TREMOR_CFLAGS=-I/usr/local/lib/
e1b6aa3017c2 Add Tremor stuff to default Makefiles.
Matti Hamalainen <ccr@tnsp.org>
parents: 5
diff changeset
8 TREMOR_LDFLAGS=/usr/local/lib/libvorbisidec.a /usr/lib/i386-linux-gnu/libogg.a
0
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
9
421
f18f07d8a731 Fix building with libpng.
Matti Hamalainen <ccr@tnsp.org>
parents: 407
diff changeset
10 LIBPNG_CFLAGS=`pkg-config --cflags libpng`
f18f07d8a731 Fix building with libpng.
Matti Hamalainen <ccr@tnsp.org>
parents: 407
diff changeset
11 LIBPNG_LDFLAGS=`pkg-config --libs libpng`
407
59244a7ae37f Move c64 utilities to the engine lib, as we benefit from a common framework.
Matti Hamalainen <ccr@tnsp.org>
parents: 355
diff changeset
12
424
e88b2993801c Fix build for Win32.
Matti Hamalainen <ccr@tnsp.org>
parents: 421
diff changeset
13 ZLIB_CFLAGS=`pkg-config --cflags zlib`
e88b2993801c Fix build for Win32.
Matti Hamalainen <ccr@tnsp.org>
parents: 421
diff changeset
14 ZLIB_LDFLAGS=`pkg-config --libs zlib`
e88b2993801c Fix build for Win32.
Matti Hamalainen <ccr@tnsp.org>
parents: 421
diff changeset
15
0
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
16 RANLIB=ranlib
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
17
1
6e169d87d963 Improve buildsystem to support more flexible builds.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
18 DMLIB = ./
5
bf77857b8e62 Default executable binpath changed back to ./
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
19 BINPATH ?=
0
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
20 OBJPATH ?= ./unix/
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
21 EXEEXT ?=
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
22
1
6e169d87d963 Improve buildsystem to support more flexible builds.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
23 include $(DMLIB)Makefile.gen