Skip to content

Commit

Permalink
Add a 'clean' target.
Browse files Browse the repository at this point in the history
  • Loading branch information
nelhage committed Jan 18, 2011
1 parent 90ed033 commit 082c50a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
CFLAGS=-Wall -Werror -D_GNU_SOURCE -g
OBJS=reptyr.o ptrace.o attach.o
STUB_CFLAGS=$(CFLAGS) -nostdlib -Wl,-r -fomit-frame-pointer

all: reptyr

reptyr: reptyr.o ptrace.o attach.o
reptyr: $(OBJS)

clean:
rm -f reptyr $(OBJS)

stub.o: stub.c
$(CC) -c $(STUB_CFLAGS) -o $@ $^
Expand Down

0 comments on commit 082c50a

Please sign in to comment.