timesynk/test/Makefile

27 lines
444 B
Makefile

CC = gcc
CFLAGS = -Wall -c -g
t2d: t2d.o data.o
$(CC) t2d.o data.o -o t2d
table_test: table_test.o data.o
$(CC) table_test.o data.o -o table_test
script: script.o
$(CC) script.o -o script
script.o: script.c
$(CC) $(CFLAGS) -c script.c
data.o: ../data.h ../data.c
$(CC) $(CFLAGS) -c ../data.c
t2d.o: t2d.c
$(CC) $(CFLAGS) -c t2d.c
table_test.o: table_test.c
$(CC) $(CFLAGS) -c table_test.c
clean:
rm -f t2d script table_test *.o