Advertisement
Guest User

Untitled

a guest
Nov 1st, 2012
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.30 KB | None | 0 0
  1. diff --git a/Makefile b/Makefile
  2. new file mode 100644
  3. index 0000000..a7cdc64
  4. --- /dev/null
  5. +++ b/Makefile
  6. @@ -0,0 +1,10 @@
  7. +CC = gcc
  8. +CFLAGS = -Wall
  9. +LDFLAGS = $(CFLAGS)
  10. +
  11. +all: calc
  12. +calc: calculator.c stack.c stack.h
  13. +   $(CC) $(CFLAGS) -o calc calculator.c stack.c
  14. +
  15. +clean:
  16. +   rm -f *.o calc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement