From 561df3827e091c5646648a50b94278843a7554aa Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Thu, 4 Sep 2008 14:49:53 +0000 Subject: WPS editor: * Simplify Makefile * Get rid of buildall.* * Change library loading behaviour to work with MODEL_NAME Screenshot: * Simplify Makefile config-*.h: * Add MODEL_NAME git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18407 a1c6a512-1295-4272-9138-f99709370657 --- utils/wpseditor/screenshot/Makefile | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) (limited to 'utils/wpseditor/screenshot/Makefile') diff --git a/utils/wpseditor/screenshot/Makefile b/utils/wpseditor/screenshot/Makefile index 18a6de35a5..f9309f58a5 100644 --- a/utils/wpseditor/screenshot/Makefile +++ b/utils/wpseditor/screenshot/Makefile @@ -8,31 +8,17 @@ # ROOT=../../.. -OS = w32 -CC = gcc - -ifeq ($(findstring MINGW,$(shell uname)),MINGW) -OS = w32 -CC = mingw32-gcc -RM = rm -endif - -ifeq ($(findstring Linux,$(shell uname)),Linux) -OS = linux CC = gcc RM = rm -f -endif - - -COMMON= main.c gd_bmp.c +COMMON = main.c gd_bmp.c -INCLUDE=-I ../libwps/src \ - -I $(ROOT)/apps/gui \ - -I $(ROOT)/firmware/export \ - -I $(ROOT)/apps/recorder \ - -I $(ROOT)/apps \ - -I . +INCLUDE = -I ../libwps/src \ + -I $(ROOT)/apps/gui \ + -I $(ROOT)/firmware/export \ + -I $(ROOT)/apps/recorder \ + -I $(ROOT)/apps \ + -I . CFLAGS = -g -Wall -- cgit v1.2.3