Skip to content

Commit

Permalink
remove '?' and fix tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Unglaub committed Jan 12, 2013
1 parent e53a03c commit 5ab1400
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
CFLAGS ?= -g -Wall -Wextra -pedantic -std=c99
CFLAGS = -g -Wall -Wextra -pedantic -std=c99
LDFLAGS = -g -lncurses -lkvm
PREFIX ?= /usr/local
PREFIX = /usr/local
SRC = main.c machine.c gui.c proc.c util.c
OBJ = ${SRC:.c=.o}

.PHONY: clean install uninstall

utop: ${OBJ}
${CC} ${LDFLAGS} -o $@ ${OBJ}
${CC} ${LDFLAGS} -o $@ ${OBJ}

clean:
@rm -f *.o utop
@rm -f *.o utop

install: utop
cp utop ${PREFIX}/bin
mkdir -p ${PREFIX}/share/man/man1/
cp utop.1 ${PREFIX}/share/man/man1/
cp utop ${PREFIX}/bin
mkdir -p ${PREFIX}/share/man/man1/
cp utop.1 ${PREFIX}/share/man/man1/

uninstall:
rm -f ${PREFIX}/bin/utop ${PREFIX}/share/man/man1/
rm -f ${PREFIX}/bin/utop ${PREFIX}/share/man/man1/

gui.o: gui.c proc.h gui.h util.h config.h machine.c machine.h
main.o: main.c proc.h gui.h config.h
Expand Down

0 comments on commit 5ab1400

Please sign in to comment.