2000-10-28 02:09:00 +00:00
|
|
|
#
|
|
|
|
# Edit the below to fit your configuration. I should automate this
|
|
|
|
# (maybe with a configure file?) One of these days.
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compiler to use
|
|
|
|
#
|
|
|
|
CC= gcc
|
|
|
|
|
|
|
|
#
|
|
|
|
# Uncomment the following for SDL_mixer sound
|
|
|
|
#
|
|
|
|
|
|
|
|
SDL_MIXER_FLAGS= -DSDL_MIXER_SOUND
|
|
|
|
SDL_MIXER_LIBS= -lSDL_mixer
|
|
|
|
|
|
|
|
#
|
|
|
|
# Uncomment the following for SDL
|
|
|
|
#
|
|
|
|
SDL_TARGET= sdl_svmwgraph.o
|
2004-09-26 19:18:00 +00:00
|
|
|
SDL_LIBS= `sdl-config --libs`
|
2000-10-28 02:09:00 +00:00
|
|
|
SDL_FLAGS= -DSDL_TARGET
|
2004-09-26 19:18:00 +00:00
|
|
|
SDL_INCLUDE= `sdl-config --cflags`
|
2000-10-28 02:09:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Uncomment the following for ncurses
|
|
|
|
#
|
2004-11-09 02:20:00 +00:00
|
|
|
#CURSES_TARGET= curses_svmwgraph.o
|
|
|
|
#CURSES_FLAGS= -DCURSES_TARGET=1
|
|
|
|
#CURSES_LIBS= -lncurses
|
2000-10-28 02:09:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# On machines w/ curses instead of ncurses [i.e. solaris, Irix, etc]
|
|
|
|
# You'll want to use the following instead
|
|
|
|
#
|
|
|
|
#CURSES_TARGET= curses_svmwgraph.o
|
|
|
|
#CURSES_FLAGS= -DCURSES_TARGET=2
|
|
|
|
#CURSES_LIBS= -lcurses
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Uncomment the following for opengGL
|
|
|
|
#
|
2004-11-09 02:20:00 +00:00
|
|
|
#OPENGL_TARGET= opengl_svmwgraph.o
|
|
|
|
#OPENGL_FLAGS=-DOPENGL_TARGET
|
|
|
|
#OPENGL_LIBS= -L/usr/X11R6/lib -lX11 -lICE -lXmu -lGL -lGLU
|
2000-10-28 02:09:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
##############################
|
|
|
|
# DO NOT EDIT BELOW THIS LINE
|
|
|
|
##############################
|
|
|
|
|
2012-12-01 05:23:02 +00:00
|
|
|
INCLUDE_GLOBAL= -Wall -O2 $(SDL_INCLUDE)
|
2000-10-28 02:09:00 +00:00
|
|
|
LIBS_GLOBAL= -lm $(SDL_MIXER_LIBS) $(SDL_LIBS) $(CURSES_LIBS) $(OPENGL_LIBS)
|