Advertisement
FlyFar

makefile

Feb 28th, 2023 (edited)
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | Cybersecurity | 0 0
  1. C_FILES = worm.c net.c hs.c cracksome.c stubs.c
  2. H_FILES = worm.h
  3.  
  4. OFILES = worm.o net.o hs.o cracksome.o stubs.o
  5.  
  6. # Luckily, the original used no optimization
  7. CFLAGS =
  8. # Most sites will have to remove the "-D" -- send for our souped-up version
  9. # of ctags becker@trantor.harris-atd.com
  10.  
  11. TAGS_FLAGS = -xDt
  12.  
  13. test: $(OFILES)
  14. $(CC) -o test $(OFILES)
  15. $(OFILES): worm.h
  16.  
  17. clean:
  18. rm -f *.o *~ *.bak
  19. tags:
  20. ctags -xDt > tags
  21. tar:
  22. tar -cf foo.tar description Makefile $(C_FILES) $(H_FILES) x8113550.c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement