summaryrefslogtreecommitdiff
path: root/psxdev/Makefile
blob: 3a62c7257e099f1f0254bef145d3fff10ff8b8b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

OBJECTS = xadecode.o bs.o idctfst.o jfdctint.o vlc.o
TARGETS = psxdev.a

CC=gcc
CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic -I../includes `baltisot-config --cflags`
# -Werror
# -pedantic-errors

all: ${TARGETS}

psxdev.a: ${OBJECTS}
	ar -r psxdev.a ${OBJECTS}
	ranlib psxdev.a

bstoppm: xadecode.o bs.o idctfst.o jfdtint.o vlc.o bstoppm.o
	${CC} ${LDFLAGS} xadecode.o bs.o idcfst.o jfdtint.o vlc.o bstoppm.o -o bstoppm

clean:
	rm -f *.o ${TARGETS}