xhads/source/makefile

24 lines
988 B
Makefile
Raw Normal View History

2024-02-15 21:03:09 -05:00
.POSIX:
default:
gfortran -fPIC -Wall -Wextra -Ofast -fno-underscoring -fstack-check -c -o ai.o ai.f90
gcc -g -ansi -Wall -Wextra -Wpedantic -Ofast -fstack-check -c -fPIC -o system.o system.c
#
gnatmake -g -O3 -fstack-check -c main.adb
2024-02-15 21:03:09 -05:00
gnatbind main.ali
gcc -g -ansi -Wall -Wextra -Wpedantic -Ofast -fstack-check -c -fPIC -o raylib.o raylib.c
2024-02-16 05:52:11 -05:00
gnatlink main.ali system.o raylib.o ai.o -o xhads -lraylib -lc -lgfortran
mv xhads ../xhads
2024-02-15 21:03:09 -05:00
#
#~ gnatmake -g -O3 -fstack-check -c main.adb
2024-02-15 21:03:09 -05:00
#~ gnatbind main.ali
#~ gcc -g -ansi -Wall -Wextra -Wpedantic -Ofast -fstack-check -c -fPIC -o sdl2.o sdl2.c
#~ gnatlink main.ali system.o sdl2.o ai.o -o mam_sdl2 -lc -lgfortran -lSDL2 -lSDL2_image
#~ mv mam_sdl2 ../mam_sdl2
#
#~ gnatmake -g -O3 -fstack-check -c main.adb
2024-02-15 21:03:09 -05:00
#~ gnatbind main.ali
#~ gcc -g -ansi -Wall -Wextra -Wpedantic -Ofast -fstack-check -c -fPIC -o xcb.o xcb.c
#~ gnatlink main.ali system.o xcb.o ai.o -o mam_xcb -lc -lgfortran -lpng -lxcb -lxcb-image
#~ mv mam_xcb ../mam_xcb