mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-23 06:53:54 +00:00
15 lines
433 B
Makefile
15 lines
433 B
Makefile
GCC=g++ -Wall -Werror
|
|
|
|
all: sdl_test sdl_move_test sdlgl_move_test
|
|
|
|
sdl_test: sdl_test.cpp
|
|
$(GCC) $< ../servers/sdl_driver.cpp -o $@ -I/usr/include/SDL/ -lSDL -lSDL_image
|
|
|
|
sdl_move_test: sdl_move_test.cpp ../servers/sdl_driver.cpp
|
|
$(GCC) $^ -o $@ -I/usr/include/SDL/ -lSDL -lSDL_image
|
|
|
|
sdlgl_move_test: sdlgl_move_test.cpp ../servers/sdl_gl_driver.cpp
|
|
$(GCC) $^ -o $@ -I/usr/include/SDL/ -lSDL -lSDL_image -lGL
|
|
|
|
clean:
|
|
rm *_test
|