fix Makefile

This commit is contained in:
Adrien Schildknecht 2013-04-25 18:00:41 +02:00
parent 3b3812b453
commit c338ec08c2

View File

@ -7,11 +7,11 @@ O=${CFILES:.c=.o}
prefix=/usr/
${EXE}: clean ${O}
${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${O}
${CC} -o $@ ${O} ${CFLAGS} ${LDFLAGS}
.SUFFIXES: .c .o
.c.o:
${CC} ${CFLAGS} -c $<
${CC} -c $< ${CFLAGS}
clean:
rm -vf *.o