From 78b73b18a44bd5566c4a9de931d16e9ba8aaf399 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sun, 27 May 2012 23:32:11 +0200 Subject: Move timediff functions to their own source file --- src/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 70c522f..42cdc86 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,12 +1,15 @@ CC = cc -Wall -Wextra INST_PATH = /usr/local/bin -baps1: main.o - $(CC) -o baps1 main.o -lm +baps1: main.o timediff.o + $(CC) -o baps1 main.o timediff.o -lm main.o: main.c $(CC) -c main.c +timediff.o: timediff.c + $(CC) -c timediff.c + install: baps1 install baps1 $(INST_PATH)/baps1 -- cgit v1.2.3-54-g00ecf