Commit 5bc3c660 authored by Arnau Bago Castro's avatar Arnau Bago Castro
Browse files

Set up basic project infrastructure

parent 1d1b4a7a
Loading
Loading
Loading
Loading

Makefile.am

0 → 100644
+1 −0
Original line number Diff line number Diff line
SUBDIRS = src

bootstrap.sh

0 → 100755
+3 −0
Original line number Diff line number Diff line
#!/bin/bash

autoreconf --install

configure.ac

0 → 100644
+25 −0
Original line number Diff line number Diff line
#                       -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([Norn-s loom], [1.0], [arnau.bagocastro at bsc.es])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_HEADERS([config.h])

# Checks for programs.
AC_PROG_AWK
AC_PROG_CXX
AC_PROG_CC

# Checks for libraries.I

# Checks for header files.

# Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_HEADER_STDBOOL

# Checks for library functions.
AC_CONFIG_FILES([Makefile
		src/Makefile])
AC_OUTPUT

src/Makefile.am

0 → 100644
+9 −0
Original line number Diff line number Diff line
bin_PROGRAMS = dloom app

dloom_SOURCES = dloom.cpp
#dloom_CXXFLAGS = $(CXXFLAGS) -I/usr/local/ -ltbb -std=gnu++11 -L tbb2017_20161128oss/lib/intel64/gcc4.7/
dloom_CXXFLAGS = -ltbb -std=gnu++11
norn_a_AR = $(CXX) -ar -o 

app_SOURCES = app.c norn.c
#app_CFLAGS = 

src/app.c

0 → 100644
+8 −0
Original line number Diff line number Diff line
#include <stdio.h>
#include "norn.h"

int main() {
   printf("Hello, World! I'm the app \n");
   initialize();
   return 0;
}
Loading