Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Example usage:
-----> Compiling with Make
gcc -o myapp myapp.c

The buildpack will detect your app as C if it has the file `Makefile` in the root. It will run a `configure` script if it exists in the root of the repository. It will then run `make` to compile the app.
The buildpack will detect your app as C if it has the file `Makefile` or `GNUmakefile` in the root. It will run a `configure` script if it exists in the root of the repository. It will then run `make` to compile the app.

Hacking
-------
Expand Down
2 changes: 1 addition & 1 deletion bin/detect
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# bin/detect <build-dir>

if [[ -f $1/Makefile || -f $1/configure ]]; then
if [[ -f $1/Makefile || -f $1/configure || -f $1/GNUmakefile ]]; then
echo "C" && exit 0
else
echo "no" && exit 1
Expand Down