comparison window/Makefile.in @ 0:223b71206888

Initial import
author thib
date Fri, 01 Aug 2008 16:32:45 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:223b71206888
1 @SET_MAKE@
2 CC = @CC@
3 CXX = @CXX@
4 LD = @CXX@
5 AR = ar
6 RANLIB = @RANLIB@
7
8 CFLAGS= -I.. $(LOCAL_DEF) @CFLAGS@ @DEFS@ @SDL_CFLAGS@ -pthread -O2
9 CXXFLAGS = $(CFLAGS)
10 LDFLAGS = @LDFLAGS@ @FT2_LIBS@ @SDL_LIBS@ @LIBS@ -pthread
11
12 SRCS = render.cc \
13 event.cc \
14 system.cc \
15 picture.cc \
16 widget.cc \
17 button.cc \
18 menuitem.cc \
19 SDL_rotozoom.cc \
20 rect.cc
21
22 OBJS = ${SRCS:.cc=.o}
23
24 all: libwindow.a test
25
26 libwindow.a: ${OBJS}
27 rm -f libwindow.a
28 ${AR} clq libwindow.a ${OBJS}
29 $(RANLIB) libwindow.a
30
31 clean:
32 rm -f libwindow.a ${OBJS} *.bak *.core
33
34 .c.o:
35 $(CC) -c $(CFLAGS) -o $@ $<
36
37 .cc.o:
38 $(CXX) -c $(CFLAGS) -o $@ $<
39
40 test: $(OBJS) test.o
41 $(LD) -o test test.o $(OBJS) ../font/libfont.a ../system/libsystem.a $(LDFLAGS)
42
43 .png.bin:
44 pngtopnm $<.png | ppmtopgm | dd bs=1 skip=15 > $@
45 .bin.txt: runlength
46 ./runlength $< > $@