Statistics
| Branch: | Tag: | Revision:

sssimulator / Matrix / Test / Makefile @ master

History | View | Annotate | Download (333 Bytes)

1 692b6c80 luca
SRC=$(wildcard *.c)
2
OBJS=$(SRC:.c=.test)
3
TARGET_SRC = ../string_indexer.c ../tokens.c ../matrix.c
4
TARGET_OBJS=$(TARGET_SRC:.c=.o)
5
6
LIBS="-lm"
7
CFLAGS=-g -O0 -I../ 
8
9
all: $(TARGET_SRC) $(TARGET_OBJS) $(OBJS)
10
11
%.test: %.c $(TARGET_OBJS) 
12
	$(CC) -o $@ $< $(CFLAGS) $(TARGET_OBJS) $(LIBS)
13
14
clean:
15
	rm -f *.test *.edges
16
17
.PHONY: all clean