File: makefile.VC6

package info (click to toggle)
libsdl-console 2.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 1,284 kB
  • sloc: sh: 7,371; ansic: 1,482; makefile: 49
file content (26 lines) | stat: -rw-r--r-- 546 bytes parent folder | download | duplicates (3)
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
# This makefile will build an SDL_console.dll with Visual C
# It was made for VC6 on Windows 98
#
# nmake should build the lot.
# .dll file goes in your system directory
# .lib and the .h files go into the searchpath of you compiler
#
# Edit this:
LIBSDL=sdl.lib sdl_image.lib

# Leave the rest
CFLAGS=-DBUILD_DLL -DWIN32

.c.obj:
	$(CC) $(CFLAGS) -I. $(CPPFLAGS) -c $(<:/=\)

OBJS=SDL_console.obj DT_drawtext.obj internal.obj

SDL_Console.dll: $(OBJS)
	cl $(OBJS) /link /dll /out:$@ $(LIBSDL)

clean:
	del *.obj
	del *.lib
	del *.exp
	del *.dll