Created
November 20, 2008 02:42
-
-
Save dreiss/26906 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
libtoolize --automake | |
aclocal | |
autoconf | |
touch NEWS README AUTHORS ChangeLog | |
automake --add-missing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AC_PREREQ(2.59) | |
AC_INIT(hello, [1.0]) | |
AM_INIT_AUTOMAKE([1.9 foreign]) | |
AC_PROG_CC | |
AC_PROG_LIBTOOL | |
AC_CONFIG_FILES([Makefile]) | |
AC_OUTPUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(int argc, char *argv[]) { | |
printf("Hello, World!\n"); | |
return 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bin_PROGRAMS = hello | |
hello_SOURCES = hello.c | |
#hello_LDADD = @LEXLIB@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment