Skip to content

Commit

Permalink
Fix compilation issues on some platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
abenson committed Oct 2, 2017
1 parent 8f44990 commit ece8013
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ PREFIX=/usr/local

all: minitalk

CC=gcc
LDFLAGS=-lreadline

minitalk: minitalk.c
$(CC) -o minitalk minitalk.c $(CFLAGS) $(LDFLAGS)

minitalk.1: minitalk.1.md
pandoc -s -t man -o minitalk.1 minitalk.1.md
Expand All @@ -14,4 +16,4 @@ clean:

install: minitalk
/usr/bin/install -t $(PREFIX)/bin minitalk
/usr/bin/install -t $(PREFIX)/man/man1 minitalk.1
/usr/bin/install -t $(PREFIX)/share/man/man1 minitalk.1

0 comments on commit ece8013

Please sign in to comment.