Permalink
Browse files

Add a 'clean' target.

  • Loading branch information...
1 parent 90ed033 commit 082c50a00cab76606faa0d730e79fbb67d5b861e @nelhage committed Jan 18, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 Makefile
View
6 Makefile
@@ -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 $@ $^

0 comments on commit 082c50a

Please sign in to comment.