File: Makefile-win32

package info (click to toggle)
circuslinux 1.0.3-19
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,696 kB
  • ctags: 244
  • sloc: sh: 3,008; ansic: 2,594; makefile: 172; perl: 55
file content (50 lines) | stat: -rw-r--r-- 1,018 bytes parent folder | download | duplicates (11)
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