summaryrefslogtreecommitdiff
path: root/psxdev/Makefile
blob: bca0c5adb0bb5d0c964685b0c04fdcb9ee5b52dd (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
# -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}