diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-04-27 23:48:49 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-04-27 23:48:49 +0000 |
commit | 3caa3c08717ad745b49da01bf70a4c0da195ac14 (patch) | |
tree | 486f9d59673e537cd100957c8748b351e0a64ce4 /uisimulator/Makefile | |
parent | c1543511b342162b2b537485c6646186037d8845 (diff) |
moved X11-specific files into a separate subdir to keep root clean for
target files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@282 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/Makefile')
-rw-r--r-- | uisimulator/Makefile | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/uisimulator/Makefile b/uisimulator/Makefile deleted file mode 100644 index 27dad9f178..0000000000 --- a/uisimulator/Makefile +++ /dev/null @@ -1,82 +0,0 @@ -############################################################################ -# __________ __ ___. -# Open \______ \ ____ ____ | | _\_ |__ _______ ___ -# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / -# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < -# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ -# \/ \/ \/ \/ \/ -# $Id$ -# -# Copyright (C) 2002 by Daniel Stenberg <daniel@haxx.se> -# -# All files in this archive are subject to the GNU General Public License. -# See the file COPYING in the source tree root for full license agreement. -# -# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY -# KIND, either express or implied. -# -############################################################################ - -TARGET = rockboxui - -FIRMWAREDIR = ../firmware -DRIVERS = $(FIRMWAREDIR)/drivers - -CC = gcc -RM = rm -f -DEBUG = -g -DEFINES = -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR -DHAVE_LCD_BITMAP -LDFLAGS = -lX11 -lm -lXt -lXmu -lnsl - - -UNAME := $(shell uname) -ifeq ($(UNAME),Linux) - INCLUDES = -I/usr/X11R6/include -I$(DRIVERS) -I$(FIRMWAREDIR) - LIBDIRS = -L/usr/X11R6/lib -else - INCLUDES = -I$(FIRMWAREDIR) - LIBDIRS = -endif - -CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) - -#SRCS = $(wildcard *.c) - -SRCS = screenhack.c uibasic.c resources.c visual.c lcd.c lcd-x11.c \ - button-x11.c chartables.c tetris.c app.c - -OBJS := $(SRCS:c=o) - -all: $(TARGET) - -clean: - $(RM) $(OBJS) *~ core $(TARGET) $(CLIENTS) - $(RM) -r $(DEPS) - -distclean: clean - $(RM) config.cache - -lcd.o: $(DRIVERS)/lcd.c - $(CC) $(CFLAGS) -c $< -o $@ - -chartables.o: $(FIRMWAREDIR)/chartables.c - $(CC) $(CFLAGS) -c $< -o $@ - -.c.o: - $(CC) $(CFLAGS) -c $< - -$(TARGET): $(OBJS) - $(CC) -o $(TARGET) $(LIBDIRS) $(LDFLAGS) $(OBJS) - -DEPS:=.deps - -$(DEPS)/%.d: %.c - @$(SHELL) -c 'if [ ! -d $(DEPS) ]; then \ - echo Creating the dependency directory: $(DEPS); \ - mkdir $(DEPS); fi' - @echo "Updating Dependencies for $<" - @$(SHELL) -ec '$(CC) -MM $(CFLAGS) $< \ - |sed '\''s/\($*\)\.o[ :]*/\1.o $(<:%.c=%.d) : /g'\'' > $@; \ - [ -s $@ ] || rm -f $@' - --include $(SRCS:%.c=$(DEPS)/%.d) |