Skip to content

Commit

Permalink
Makefile fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Aug 14, 2010
1 parent 1c7ed68 commit d57e54e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ all: bin/test

bin/test: test.o $(OBJS)
@mkdir -p bin
$(CC) test.o $(OBJS) -o $@
$(CC) $^ -o $@

bin/benchmark: benchmark.o $(OBJS)
@mkdir -p bin
$(CC) benchmark.o $(OBJS) -o $@
$(CC) $^ -o $@

%.o: %.c
$(CC) $< $(CFLAGS) -c -o $@
Expand Down

0 comments on commit d57e54e

Please sign in to comment.