File: Makefile-win32

package info (click to toggle)
circuslinux 1.0.3-28
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,808 kB
  • sloc: ansic: 2,594; sh: 2,317; makefile: 85; perl: 55
file content (50 lines) | stat: -rw-r--r-- 1,018 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Makefile-win32 for circuslinux

# by Bill Kendrick
# bill@newbreedsoftware.com
# http://www.newbreedsoftware.com/

# Version 1.0.0

# May 25, 2000 - May 29, 2000


VERSION=1.0.0

CFLAGS=-Wall -O2 $(SDL_CFLAGS) -DDATA_PREFIX=\"data/\" \
	-DWIN32 -DJOY_NO $(SDL_CFLAGS) $(XTRA_CFLAGS) -DVERSION=\"$(VERSION)\"


# Other definitions:

SDL_LIBS=-L/usr/local/cross-tools/i386-mingw32/lib -lmingw32 \
	-lSDLmain -lSDL -lSDLmain -luser32 -lgdi32 -lwinmm -ldxguid \
	-mwindows
XTRA_LIBS=-L/usr/local/cross-tools/i386-mingw32/lib/ \
	-lSDL_image -lpng -lz -lSDL_mixer
SDL_CFLAGS=-I/usr/local/cross-tools/i386-mingw32/include \
	-I/usr/local/cross-tools/i386-mingw32/include/SDL


# Make commands:

all:	circuslinux.exe
	cp /usr/local/cross-tools/i386-mingw32/lib/SDL*.dll .
	chmod 644 SDL*.dll

clean:
	-rm circuslinux.exe
	-rm *.o
	-rm SDL*.dll


# Main executable:

circuslinux.exe:	circuslinux.o
	$(CC) $(CFLAGS) circuslinux.o -o circuslinux.exe \
		$(XTRA_LIBS) $(SDL_LIBS)


# Main object:

circuslinux.o:	circuslinux.c