From e91ef156b1d984c886e16e67b16a2053f697d727 Mon Sep 17 00:00:00 2001 From: Yves Rizoud Date: Sun, 12 Oct 2008 14:29:27 +0000 Subject: [PATCH] Makefile fixes git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@236 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6161e54e..732a0e66 100644 --- a/Makefile +++ b/Makefile @@ -23,8 +23,8 @@ ifdef COMSPEC DELCOMMAND = del BIN = grafx2.exe CFGBIN = gfxcfg.exe - COPT = -Wall -O -g -ggdb -Dmain=SDL_main - LOPT = -mwindows -lmingw32 -lSDLmain -lSDL -lshlwapi + COPT = -Wall -O -g -ggdb `sdl-config --cflags` + LOPT = `sdl-config --libs` CC = gcc else # Linux specific