Skip to content

Commit

Permalink
Update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
felipefrm committed Jun 5, 2018
1 parent 0c8e583 commit 3505180
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
########## Makefile ############

conversoes: convercoes.o main.o
gcc convercoes.o main.o -o tp -lm
main.o: main.c convercoes.h
all: main.o convercoes.o verificacoes.o
gcc verificacoes.o convercoes.o main.o -o tp -lm

main.o: main.c convercoes.h verificacoes.h
gcc -g -c main.c
convercoes.o: convercoes.h convercoes.c
gcc -g -c convercoes.c
verificacoes.o: verificacoes.h verificacoes.c
gcc -g -c verificacoes.c

0 comments on commit 3505180

Please sign in to comment.