Commit initial build files

main
noah metz 2024-09-11 13:18:58 -06:00
parent ee0cad5b3c
commit 5b85eb77f3
4 changed files with 88 additions and 18 deletions

74
.gitignore vendored

@ -1,23 +1,61 @@
# ---> Go # http://www.gnu.org/software/automake
# If you prefer the allow list template instead of the deny list, see community template:
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
#
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with `go test -c` Makefile.in
*.test /ar-lib
/mdate-sh
/py-compile
/test-driver
/ylwrap
.deps/
.dirstamp
# Output of the go coverage tool, specifically when used with LiteIDE # http://www.gnu.org/software/autoconf
*.out
# Dependency directories (remove the comment below to include it) autom4te.cache
# vendor/ /autoscan.log
/autoscan-*.log
/aclocal.m4
/compile
/config.cache
/config.guess
/config.h.in
/config.log
/config.status
/config.sub
/configure
/configure.scan
/depcomp
/install-sh
/missing
/stamp-h1
# Go workspace file # Automake aux directory
go.work /config
# Autoreconf backup of configure
/configure~
# https://www.gnu.org/software/libtool/
/ltmain.sh
# http://www.gnu.org/software/texinfo
/texinfo.tex
# http://www.gnu.org/software/m4/
m4/libtool.m4
m4/ltoptions.m4
m4/ltsugar.m4
m4/ltversion.m4
m4/lt~obsolete.m4
# Generated Makefile
# (meta build system like autotools,
# can automatically generate from config.status script
# (which is called by configure script))
Makefile
# Object files
*.o

@ -0,0 +1,2 @@
bin_PROGRAMS = emu
emu_SOURCES = src/main.c

@ -0,0 +1,25 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.00])
AC_INIT([emu], [v1.0])
AC_CONFIG_SRCDIR([src/main.c])
AC_CONFIG_AUX_DIR([config])
# Initialize automake
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
# Checks for programs.
AC_PROG_CC
# Checks for libraries.
# Checks for header files.
AC_CHECK_HEADERS([stdint.h])
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_CONFIG_FILES([Makefile])
AC_OUTPUT

@ -0,0 +1,5 @@
#include "stdint.h"
int main(int argc, char* argv[]) {
return (uint8_t)0;
}