summaryrefslogtreecommitdiff
path: root/psxdev/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'psxdev/Makefile')
-rw-r--r--psxdev/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/psxdev/Makefile b/psxdev/Makefile
index 5cc33ca..fb1cc78 100644
--- a/psxdev/Makefile
+++ b/psxdev/Makefile
@@ -1,15 +1,17 @@
+#!/usr/bin/make -f
+
TARGETS=xadecode.o bs.o idctfst.o jfdctint.o vlc.o
CC=gcc
-CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic
+CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic -I..
# -Werror
# -pedantic-errors
-all: $(TARGETS)
+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
+ rm -f *.o ${TARGETS}