Add parameter to build

This commit is contained in:
Aidan Mullen 2024-05-04 10:53:43 -04:00
parent f8025b805a
commit 8fe12ce982
4 changed files with 9 additions and 1 deletions

1
.gitignore vendored
View file

@ -30,6 +30,7 @@
!/engine/project.godot !/engine/project.godot
!/engine/icon.svg !/engine/icon.svg
!/engine/environment.tscn
# /engine/bin # /engine/bin
!/engine/bin !/engine/bin

View file

@ -21,9 +21,11 @@ AM_CONFIG_HEADER([src/config.h])
AC_CONFIG_MACRO_DIR([m4 AC_CONFIG_MACRO_DIR([m4
]) ])
# Use libtool.
AC_PROG_LIBTOOL AC_PROG_LIBTOOL
AC_PROG_INSTALL AC_PROG_INSTALL
# Prefer shared libraries.
AC_ENABLE_SHARED AC_ENABLE_SHARED
AC_DISABLE_STATIC AC_DISABLE_STATIC

3
engine/environment.tscn Normal file
View file

@ -0,0 +1,3 @@
[gd_scene format=3 uid="uid://b827xc3j75sb6"]
[node name="Node3D" type="Node3D"]

View file

@ -5,7 +5,9 @@
#__top_builddir__bin_rtr_SOURCES = main.c # Sources #__top_builddir__bin_rtr_SOURCES = main.c # Sources
lib_LTLIBRARIES = librtr.la lib_LTLIBRARIES = librtr.la
librtr_la_SOURCES = main.c librtr_la_SOURCES = main.c
librtr_la_LDFLAGS = -module -avoid-version -export-dynamic
# Compile as shared library.
librtr_la_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined
#bin_PROGRAMS = rtr #bin_PROGRAMS = rtr
#rtr_CFLAGS = -DBUILD -c -fPIC -shared # Define BUILD and output shared. #rtr_CFLAGS = -DBUILD -c -fPIC -shared # Define BUILD and output shared.