Merge branch 'branch-1.9' into debian
[fw/altos] / src / draw / Makefile
index 5f70a6acf04c425f52147b6739fe4b1665d49a75..746178a044e82c133854536925d862636cf4f0f3 100644 (file)
@@ -95,7 +95,9 @@ FONT_SRCS=$(BDFS:.bdf=.c)
 .bdf.c:
        nickle font-convert -o $@ $<
 
-all: ao_font.h ao_logo.h lco-test line-test
+all: ao_font.h ao_logo.h
+
+test: lco-test line-test
 
 $(FONT_SRCS): font-convert
 
@@ -125,7 +127,7 @@ LINE_TEST_OBJS=$(LINE_TEST_SRCS:.c=.o)
 
 TEST_LIBS=-lXrender -lXext -lX11 -lm -Wl,--gc-sections
 
-CFLAGS=-O0 -g $(WARN_FLAGS) -DVALIDATE -I.
+CFLAGS=-O3 -g $(WARN_FLAGS) -DVALIDATE -I.
 
 HEADERS=\
        ao_draw.h \
@@ -149,3 +151,5 @@ $(LINE_TEST_OBJS): $(HEADERS)
 
 clean:
        rm -f $(LCO_TEST_OBJS) ao_font.h ao_logo.h $(FONT_SRCS)
+
+install: