Publish
This commit is contained in:
commit
1b3e0d6d57
602 changed files with 4433 additions and 0 deletions
31
code/Makefile
Normal file
31
code/Makefile
Normal file
|
@ -0,0 +1,31 @@
|
|||
CC=gcc
|
||||
CPPC=g++
|
||||
CFLAGS=-I. -Wextra -Wall -g
|
||||
DEPS = fmindex.h util.h
|
||||
OBJ = fmindex.o util.o rapl.o
|
||||
EXES = program repl construct generate_test_data benchmark
|
||||
|
||||
%.o: %.c $(DEPS)
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
|
||||
all: $(EXES)
|
||||
|
||||
program: $(OBJ) program.o
|
||||
$(CC) -o $@ $^ $(CFLAGS)
|
||||
|
||||
repl: $(OBJ) repl.o
|
||||
$(CC) -o $@ $^ $(CFLAGS)
|
||||
|
||||
construct: $(OBJ) construct.o
|
||||
$(CC) -o $@ $^ $(CFLAGS)
|
||||
|
||||
generate_test_data: $(OBJ) generate_test_data.o
|
||||
$(CPPC) -o $@ $^ $(CFLAGS)
|
||||
|
||||
benchmark: $(OBJ) benchmark.o
|
||||
$(CPPC) -o $@ $^ $(CFLAGS)
|
||||
|
||||
.PHONY: clean all
|
||||
|
||||
clean:
|
||||
rm -f *.o *~ core $(EXES)
|
Loading…
Add table
Add a link
Reference in a new issue