Added a test for MUIA_Listview_SelectChange.
[AROS.git] / workbench / system / BHFormat / Makefile
blobf23d10ad5975de7334c7ad1fcc4c537339e7096e
1 OS=$(shell uname)
2 ifeq "$(OS)" "MorphOS"
3 STRIP = strip --remove-section=.comment
4 else
5 STRIP = echo >NIL:
6 endif
7 ifeq "$(OS)" "AROS"
8 NOIXEMUL =
9 else
10 NOIXEMUL = -noixemul
11 endif
13 CC = gcc
15 CFLAGS = -Werror-implicit-function-declaration -Wswitch -Wunused $(NOIXEMUL)
17 # Comment out one of these lines to select between debug and `release' versions
18 #CFLAGS += -DDEBUG=1
19 CFLAGS += -DNDEBUG -O2
21 Format : main.o cli.o gui.o
22 $(CC) $(CFLAGS) -o Format main.o cli.o gui.o
23 $(STRIP) $@
25 .c.o:
26 $(CC) $(CFLAGS) -c $*.c
28 main.o cli.o gui.o : format.h
30 install: Format
31 Copy Format SYS:System/
32 Copy Format.info SYS:System/
34 clean:
35 Delete "#?.o"
36 Delete Format