Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (21 sloc) 0.667 kB
objects = test_suite.o \
linked_lists.o \
hash_tables.o \
intmdt_code_gen.o
name = linked_lists
CFLAGS = -g -Wall -Wextra -Werror -pedantic -O -std=c99
#default : $(objects)
# gcc -o $(name) $(objects)
test : $(objects)
gcc -o test_suite $(objects)
test_suite.o : linked_lists.h hash_tables.h intmdt_code_gen.h
intmdt_code_gen.o : intmdt_code_gen.h
linked_lists.o : linked_lists.h
hash_tables.o : linked_lists.h hash_tables.h
parser : hash_tables.o linked_lists.o intmdt_code_gen.o
lex lexer.lex
yacc parser.yacc
gcc -g y.tab.c hash_tables.o \
linked_lists.o intmdt_code_gen.o -o parser
clean :
rm -rf $(name) $(objects) lex.yy.c *.o *~ y.tab.c
Jump to Line
Something went wrong with that request. Please try again.