Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git] / sdcc-extra / emu / rrgb / Makefile.in
blobeb6392e41cf151349bcd6487bccc3b2ebf09a33d
1 # Makefile for rrgb
3 VPATH = @srcdir@
5 VER = 0.35
7 # this looks wrong, but *ops.c are actually #include'd by z80.c
8 OBJS=main.o z80.o parse_map.o debugger.o disgb.o csock.o
10 CC = @CC@
11 CXX = @CXX@
12 STRIP = @STRIP@
14 CPPFLAGS += @CPPFLAGS@
15 LDFLAGS = @LDFLAGS@
17 OPTS = -DSEG
18 #CFLAGS=-O3 -fomit-frame-pointer -funroll-loops -Wall $(OPTS)
19 CFLAGS += @CFLAGS@ $(OPTS)
20 ifeq ($(shell uname -s),SunOS)
21 LIBS = -lm -lsocket
22 else
23 LIBS = -lm
24 endif
26 all: rrgb
28 rrgb: $(OBJS)
29 $(CC) $(OPTS) $(LDFLAGS) -o rrgb $(OBJS) $(LIBS)
31 clean:
32 $(RM) *.o *~ rrgb
34 distclean: clean
35 $(RM) Makefile
37 install:
38 install rrgb /usr/bin
39 $(STRIP) /usr/bin/rrgb
41 src-dist: clean
42 tar czf ../rrgb-$(VER).tar.gz *
44 # Dependencies
46 z80.o: z80.c z80.h z80ops.c cbops.c
48 main.o: z80.h disgb.h