From 523c8a623f0137aac23464c2c7b83d63dd3039a7 Mon Sep 17 00:00:00 2001 From: Yves Rizoud Date: Thu, 20 May 2010 17:56:38 +0000 Subject: [PATCH] Makefile: Allow $(JOYCOPT) and -O$(OPTIM) on Linux. Patch by Johannes Kroll git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1484 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index ee8fe8a0..17a47b73 100644 --- a/src/Makefile +++ b/src/Makefile @@ -237,7 +237,7 @@ else # Compiles a regular linux executable for the native platform BIN = ../bin/grafx2 - COPT = -W -Wall -Wdeclaration-after-statement -std=c99 -c -g `sdl-config --cflags` $(TTFCOPT) $(LUACOPT) + COPT = -W -Wall -Wdeclaration-after-statement -std=c99 -c -g `sdl-config --cflags` $(TTFCOPT) $(LUACOPT) $(JOYCOPT) -O$(OPTIM) LOPT = `sdl-config --libs` -lSDL_image $(TTFLOPT) -lpng $(LUALOPT) -lm # Use gcc for compiling. Use ncc to build a callgraph and analyze the code. CC = gcc