makefile.amiga 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #***************************************************************************
  2. # _ _ ____ _
  3. # Project ___| | | | _ \| |
  4. # / __| | | | |_) | |
  5. # | (__| |_| | _ <| |___
  6. # \___|\___/|_| \_\_____|
  7. #
  8. # Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
  9. #
  10. # This software is licensed as described in the file COPYING, which
  11. # you should have received as part of this distribution. The terms
  12. # are also available at https://curl.se/docs/copyright.html.
  13. #
  14. # You may opt to use, copy, modify, merge, publish, distribute and/or sell
  15. # copies of the Software, and permit persons to whom the Software is
  16. # furnished to do so, under the terms of the COPYING file.
  17. #
  18. # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
  19. # KIND, either express or implied.
  20. #
  21. # SPDX-License-Identifier: curl
  22. #
  23. ###########################################################################
  24. #
  25. # libcurl Makefile for AmigaOS ...
  26. #
  27. # change the follow to where you have the AmiTCP SDK v4.3 includes:
  28. ATCPSDKI= /GG/netinclude
  29. CC = m68k-amigaos-gcc
  30. CFLAGS = -I$(ATCPSDKI) -m68020-60 -O2 -msoft-float -noixemul -g -I. -I../include -W -Wall -DUSE_OPENSSL -DHAVE_LIBZ
  31. include Makefile.inc
  32. OBJS = $(CSOURCES:.c=.o)
  33. all: $(OBJS)
  34. ar cru libcurl.a $(OBJS)
  35. ranlib libcurl.a
  36. install:
  37. $(INSTALL) -c ./libcurl.a /lib/libcurl.a