Project

General

Profile

Statistics
| Branch: | Revision:

pse-2015-16-grupo-3 / tpf / Makefile @ 78c254a7

History | View | Annotate | Download (341 Bytes)

1
CC = gcc
2
CFLAGS = -Wall 
3
LIBS = -lm
4

    
5
BIN = microwave
6
OBJS = mainTest.o config.o display.o power.o tempo.o 
7

    
8
all:: 	$(BIN)
9

    
10
$(BIN):: $(OBJS)
11
	$(CC) $(CFLAGS) -o $(BIN) $(OBJS) $(LIBS)
12

    
13
config.o:: config.h
14

    
15
power.o:: power.h
16

    
17
display.o:: display.h
18

    
19
tempo.o:: tempo.h
20

    
21
mainTest.o:: tempo.h display.h power.h config.h
22

    
23
clean::
24
	/bin/rm -f *~ *.o