summaryrefslogtreecommitdiff
path: root/psxdev/Makefile
diff options
context:
space:
mode:
authorPixel <Pixel>2002-07-21 11:52:56 +0000
committerPixel <Pixel>2002-07-21 11:52:56 +0000
commitcbee971a2e8929924f63535d174637106620eae3 (patch)
tree6ea7249ad3996c6e750deb9814991e9005887449 /psxdev/Makefile
parent6528f07c516efe4d3b344f01740067878d5d9a43 (diff)
Prlorf
Diffstat (limited to 'psxdev/Makefile')
-rw-r--r--psxdev/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/psxdev/Makefile b/psxdev/Makefile
index 0ddfc4f..bca0c5a 100644
--- a/psxdev/Makefile
+++ b/psxdev/Makefile
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
-TARGETS=xadecode.o bs.o idctfst.o jfdctint.o vlc.o
+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
@@ -9,6 +10,10 @@ CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic -I../includes
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