Browse Source

Better makefile, use %.o rule

main
Titouan Rigoudy 11 years ago
parent
commit
70697e7afc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      arithmetic_progressions/Makefile

+ 1
- 1
arithmetic_progressions/Makefile View File

@ -4,7 +4,7 @@ CFLAGS= -ggdb --std=c11
all: ap
segtree.o: segtree.c
%.o: %.c
$(CC) -o $@ -c $^ $(CFLAGS)
ap: arithmetic_progressions.c segtree.o


Loading…
Cancel
Save