summaryrefslogtreecommitdiff
path: root/psxdev/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'psxdev/Makefile')
-rw-r--r--psxdev/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/psxdev/Makefile b/psxdev/Makefile
index 3db2a0f..5cc33ca 100644
--- a/psxdev/Makefile
+++ b/psxdev/Makefile
@@ -1,10 +1,15 @@
-TARGETS=bs.o idctfst.o jfdctint.o vlc.o
+TARGETS=xadecode.o bs.o idctfst.o jfdctint.o vlc.o
CC=gcc
-CPPFLAGS=-march=i386 -O3
+CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic
+# -Werror
+# -pedantic-errors
all: $(TARGETS)
+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